Skip to content

Commit

Permalink
chore: Fix appimage release build (- instead of .).
Browse files Browse the repository at this point in the history
  • Loading branch information
iphydf committed Dec 31, 2024
1 parent 97ee200 commit 6e7e268
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
1 change: 0 additions & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,4 @@ bazel-opt_task:
- cd /src/workspace && bazel
--max_idle_secs=5
test -k
--remote_cache=http://$CIRRUS_HTTP_CACHE_HOST
//qtox/...
14 changes: 7 additions & 7 deletions .github/workflows/build-test-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -249,13 +249,13 @@ jobs:
id: get_version
run: |
VERSION="$(echo $GITHUB_REF | cut -d / -f 3)"
echo "release_appimage=qTox-$VERSION.x86_64.AppImage" >>$GITHUB_OUTPUT
echo "release_appimage=qTox-$VERSION-x86_64.AppImage" >>$GITHUB_OUTPUT
- name: Rename AppImage for release upload
if: contains(github.ref, 'refs/tags/v')
run: |
cp qTox-*.x86_64.AppImage "${{ steps.get_version.outputs.release_appimage }}"
cp qTox-*-x86_64.AppImage "${{ steps.get_version.outputs.release_appimage }}"
sha256sum "${{ steps.get_version.outputs.release_appimage }}" > "${{ steps.get_version.outputs.release_appimage }}.sha256"
cp qTox-*.x86_64.AppImage.zsync "${{ steps.get_version.outputs.release_appimage }}.zsync"
cp qTox-*-x86_64.AppImage.zsync "${{ steps.get_version.outputs.release_appimage }}.zsync"
- name: Upload to versioned release
if: contains(github.ref, 'refs/tags/v')
uses: ncipollo/release-action@v1
Expand All @@ -267,9 +267,9 @@ jobs:
- name: Rename AppImage for nightly upload
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
run: |
cp qTox-*.x86_64.AppImage qTox-nightly.x86_64.AppImage
sha256sum qTox-nightly.x86_64.AppImage > qTox-nightly.x86_64.AppImage.sha256
cp qTox-*.x86_64.AppImage.zsync qTox-nightly.x86_64.AppImage.zsync
cp qTox-*-x86_64.AppImage qTox-nightly-x86_64.AppImage
sha256sum qTox-nightly-x86_64.AppImage > qTox-nightly-x86_64.AppImage.sha256
cp qTox-*-x86_64.AppImage.zsync qTox-nightly-x86_64.AppImage.zsync
- name: Upload to nightly release
uses: ncipollo/release-action@v1
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
Expand All @@ -281,7 +281,7 @@ jobs:
prerelease: true
replacesArtifacts: true
token: ${{ secrets.GITHUB_TOKEN }}
artifacts: "qTox-nightly.x86_64.AppImage,qTox-nightly.x86_64.AppImage.sha256,qTox-nightly.x86_64.AppImage.zsync"
artifacts: "qTox-nightly-x86_64.AppImage,qTox-nightly-x86_64.AppImage.sha256,qTox-nightly-x86_64.AppImage.zsync"

build-android:
name: Android
Expand Down

0 comments on commit 6e7e268

Please sign in to comment.