Skip to content

Commit

Permalink
fix(dry-run): don't get tag and use nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
Nerixyz committed Mar 3, 2024
1 parent 6ff1221 commit 6849582
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/create-installer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,11 @@ jobs:

- uses: actions/download-artifact@v4
with:
name: Chatterino7.Installer.exe
name: Chatterino7${{ needs.check-release.outputs.IS_TAGGED != '0' && '.Nightly' || '' }}.Installer.exe
path: build/
- uses: actions/download-artifact@v4
with:
name: Chatterino7.Portable.zip
name: Chatterino7${{ needs.check-release.outputs.IS_TAGGED != '0' && '.Nightly' || '' }}.Portable.zip
path: build/

- name: Download artifact
Expand Down Expand Up @@ -157,23 +157,22 @@ jobs:
run: |
sha256sum * > sha256-checksums.txt
- name: Get Tag
id: get-tag
run: echo "VALUE=$(git describe --exact-match --match 'v*')" >> "$GITHUB_OUTPUT"

- name: Dry Run
if: ${{ needs.check-release.outputs.IS_TAGGED != '0' }}
run: |
echo "Dry Run"
echo "========================================"
echo "Tag: '${{ steps.get-tag.outputs.VALUE }}'"
echo "========================================"
echo "Files:"
ls -la build
echo "========================================"
echo "Sha256 sums:"
cat sha256-checksums.txt
- name: Get Tag
id: get-tag
if: ${{ needs.check-release.outputs.IS_TAGGED == '0' }}
run: echo "VALUE=$(git describe --exact-match --match 'v*')" >> "$GITHUB_OUTPUT"

- name: Create release
uses: ncipollo/[email protected]
if: ${{ needs.check-release.outputs.IS_TAGGED == '0' }}
Expand Down

0 comments on commit 6849582

Please sign in to comment.