feat: rebrand seal-home to seal-use with self-healing upgrade and backward compatibility (v0.10.0) (#15)
This commit is contained in:
1 parent
69d2bc0147
commit
068637c667
74 files changed
+1568
-1359
No files matched your search
@@ -51,12 +51,12 @@ jobs:
|
||||
run: |
|
||||
sudo apt-get update && sudo apt-get install -y zip
|
||||
cd dist/bin
|
||||
tar -czf seal-home-linux-x64.tar.gz seal-home-linux-x64
|
||||
tar -czf seal-home-linux-arm64.tar.gz seal-home-linux-arm64
|
||||
tar -czf seal-home-darwin-x64.tar.gz seal-home-darwin-x64
|
||||
tar -czf seal-home-darwin-arm64.tar.gz seal-home-darwin-arm64
|
||||
zip -q seal-home-windows-x64.zip seal-home-windows-x64.exe
|
||||
sha256sum seal-home-* > checksums.txt
|
||||
tar -czf seal-use-linux-x64.tar.gz seal-use-linux-x64
|
||||
tar -czf seal-use-linux-arm64.tar.gz seal-use-linux-arm64
|
||||
tar -czf seal-use-darwin-x64.tar.gz seal-use-darwin-x64
|
||||
tar -czf seal-use-darwin-arm64.tar.gz seal-use-darwin-arm64
|
||||
zip -q seal-use-windows-x64.zip seal-use-windows-x64.exe
|
||||
sha256sum seal-use-* > checksums.txt
|
||||
echo "Generated checksums:"
|
||||
cat checksums.txt
|
||||
|
||||
@@ -71,13 +71,13 @@ jobs:
|
||||
else
|
||||
gh release view "${TAG_NAME}" --repo "${GITHUB_REPOSITORY}" >/dev/null 2>&1 || gh release create "${TAG_NAME}" --repo "${GITHUB_REPOSITORY}" --title "${TAG_NAME}" --generate-notes
|
||||
fi
|
||||
gh release upload "${TAG_NAME}" dist/bin/seal-home-* dist/bin/checksums.txt --repo "${GITHUB_REPOSITORY}" --clobber
|
||||
gh release upload "${TAG_NAME}" dist/bin/seal-use-* dist/bin/checksums.txt --repo "${GITHUB_REPOSITORY}" --clobber
|
||||
|
||||
- name: Publish Gitea Release
|
||||
env:
|
||||
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||
GITEA_HOST: "https://git.ying-qing.cn"
|
||||
GITEA_REPO: "gitea/seal-home"
|
||||
GITEA_REPO: "gitea/seal-use"
|
||||
run: |
|
||||
if [ -z "$GITEA_TOKEN" ]; then
|
||||
echo "::notice::GITEA_TOKEN secret not configured, skipping Gitea upload."
|
||||
@@ -105,18 +105,18 @@ jobs:
|
||||
fi
|
||||
|
||||
priority_files=(
|
||||
"dist/bin/seal-home-darwin-arm64.tar.gz"
|
||||
"dist/bin/seal-home-darwin-arm64"
|
||||
"dist/bin/seal-home-darwin-x64.tar.gz"
|
||||
"dist/bin/seal-home-darwin-x64"
|
||||
"dist/bin/seal-use-darwin-arm64.tar.gz"
|
||||
"dist/bin/seal-use-darwin-arm64"
|
||||
"dist/bin/seal-use-darwin-x64.tar.gz"
|
||||
"dist/bin/seal-use-darwin-x64"
|
||||
)
|
||||
remaining_files=(
|
||||
"dist/bin/seal-home-linux-arm64.tar.gz"
|
||||
"dist/bin/seal-home-linux-arm64"
|
||||
"dist/bin/seal-home-linux-x64.tar.gz"
|
||||
"dist/bin/seal-home-linux-x64"
|
||||
"dist/bin/seal-home-windows-x64.zip"
|
||||
"dist/bin/seal-home-windows-x64.exe"
|
||||
"dist/bin/seal-use-linux-arm64.tar.gz"
|
||||
"dist/bin/seal-use-linux-arm64"
|
||||
"dist/bin/seal-use-linux-x64.tar.gz"
|
||||
"dist/bin/seal-use-linux-x64"
|
||||
"dist/bin/seal-use-windows-x64.zip"
|
||||
"dist/bin/seal-use-windows-x64.exe"
|
||||
"dist/bin/checksums.txt"
|
||||
)
|
||||
expected_files=("${priority_files[@]}" "${remaining_files[@]}")
|
||||
|
||||
Reference in new issue
Block a user