mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
Merge remote-tracking branch 'origin/stable'
# Conflicts: # src/services/build.js
This commit is contained in:
commit
634baae796
3
.idea/vcs.xml
generated
3
.idea/vcs.xml
generated
@ -2,6 +2,5 @@
|
|||||||
<project version="4">
|
<project version="4">
|
||||||
<component name="VcsDirectoryMappings">
|
<component name="VcsDirectoryMappings">
|
||||||
<mapping directory="" vcs="Git" />
|
<mapping directory="" vcs="Git" />
|
||||||
<mapping directory="$PROJECT_DIR$/../.." vcs="Git" />
|
|
||||||
</component>
|
</component>
|
||||||
</project>
|
</project>
|
||||||
|
@ -10,7 +10,7 @@ fi
|
|||||||
|
|
||||||
cd dist
|
cd dist
|
||||||
wget https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-x64.tar.xz
|
wget https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-x64.tar.xz
|
||||||
tar xvfJ node-v${NODE_VERSION}-linux-x64.tar.xz
|
tar xfJ node-v${NODE_VERSION}-linux-x64.tar.xz
|
||||||
rm node-v${NODE_VERSION}-linux-x64.tar.xz
|
rm node-v${NODE_VERSION}-linux-x64.tar.xz
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
|
@ -55,47 +55,20 @@ echo "Creating release in GitHub"
|
|||||||
EXTRA=
|
EXTRA=
|
||||||
|
|
||||||
if [[ $TAG == *"beta"* ]]; then
|
if [[ $TAG == *"beta"* ]]; then
|
||||||
EXTRA=--pre-release
|
EXTRA=--prerelease
|
||||||
fi
|
fi
|
||||||
|
|
||||||
github-release release \
|
echo "$GITHUB_CLI_AUTH_TOKEN" | gh auth login --with-token
|
||||||
--tag $TAG \
|
|
||||||
--name "$TAG release" $EXTRA
|
|
||||||
|
|
||||||
echo "Uploading debian x64 package"
|
gh release create "$TAG" \
|
||||||
|
--title "$TAG release" \
|
||||||
github-release upload \
|
--notes ""
|
||||||
--tag $TAG \
|
$EXTRA \
|
||||||
--name "$DEBIAN_X64_BUILD" \
|
"dist/$DEBIAN_X64_BUILD" \
|
||||||
--file "dist/$DEBIAN_X64_BUILD"
|
"dist/$LINUX_X64_BUILD" \
|
||||||
|
"dist/$WINDOWS_X64_BUILD" \
|
||||||
echo "Uploading linux x64 build"
|
"dist/$MAC_X64_BUILD" \
|
||||||
|
"dist/$SERVER_BUILD"
|
||||||
github-release upload \
|
|
||||||
--tag $TAG \
|
|
||||||
--name "$LINUX_X64_BUILD" \
|
|
||||||
--file "dist/$LINUX_X64_BUILD"
|
|
||||||
|
|
||||||
echo "Uploading windows x64 build"
|
|
||||||
|
|
||||||
github-release upload \
|
|
||||||
--tag $TAG \
|
|
||||||
--name "$WINDOWS_X64_BUILD" \
|
|
||||||
--file "dist/$WINDOWS_X64_BUILD"
|
|
||||||
|
|
||||||
echo "Uploading mac x64 build"
|
|
||||||
|
|
||||||
github-release upload \
|
|
||||||
--tag $TAG \
|
|
||||||
--name "$MAC_X64_BUILD" \
|
|
||||||
--file "dist/$MAC_X64_BUILD"
|
|
||||||
|
|
||||||
echo "Uploading linux x64 server build"
|
|
||||||
|
|
||||||
github-release upload \
|
|
||||||
--tag $TAG \
|
|
||||||
--name "$SERVER_BUILD" \
|
|
||||||
--file "dist/$SERVER_BUILD"
|
|
||||||
|
|
||||||
echo "Building docker image"
|
echo "Building docker image"
|
||||||
|
|
||||||
@ -105,4 +78,4 @@ echo "Pushing docker image to dockerhub"
|
|||||||
|
|
||||||
bin/push-docker-image.sh $VERSION
|
bin/push-docker-image.sh $VERSION
|
||||||
|
|
||||||
echo "Release finished!"
|
echo "Release finished!"
|
||||||
|
@ -5,7 +5,7 @@ const TPL = `
|
|||||||
<td colspan="2">
|
<td colspan="2">
|
||||||
<span class="bx bx-trash"></span>
|
<span class="bx bx-trash"></span>
|
||||||
|
|
||||||
Delete matched note
|
Delete matched notes
|
||||||
</td>
|
</td>
|
||||||
<td class="button-column">
|
<td class="button-column">
|
||||||
<span class="bx bx-x icon-action action-conf-del"></span>
|
<span class="bx bx-x icon-action action-conf-del"></span>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user