Skip to content

Commit

Permalink
fix: ignore nightly-build
Browse files Browse the repository at this point in the history
  • Loading branch information
Nerixyz committed Aug 3, 2023
1 parent 1fb6fe3 commit c8fc967
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .CI/build-installer.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ if (-not (Test-Path -PathType Container Chatterino2)) {
# Check if we're on a tag
$OldErrorActionPref = $ErrorActionPreference;
$ErrorActionPreference = 'Continue';
git describe --exact-match *> $null;
git describe --exact-match --match 'v*' *> $null;
$isTagged = $?;
$ErrorActionPreference = $OldErrorActionPref;

Expand Down
3 changes: 1 addition & 2 deletions .CI/bundle-portable.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ function Remove-IfExists {
# Check if we're on a tag
$OldErrorActionPref = $ErrorActionPreference;
$ErrorActionPreference = 'Continue';
git describe --exact-match *> $null;
$isTagged = $?;
git describe --exact-match --match 'v*' *> $null;
$ErrorActionPreference = $OldErrorActionPref;

Write-Output portable > Chatterino2/modes;
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/create-installer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:
id: is-rel
run: |
set +e;
git describe --exact-match &> /dev/null;
git describe --exact-match --match 'v*' &> /dev/null;
echo "IS_TAGGED=$?" >> "$GITHUB_OUTPUT";
shell: bash

Expand Down Expand Up @@ -173,7 +173,7 @@ jobs:
- name: Get Tag
id: get-tag
run: echo "VALUE=$(git describe --exact-match)" >> "$GITHUB_OUTPUT"
run: echo "VALUE=$(git describe --exact-match --match 'v*')" >> "$GITHUB_OUTPUT"
- name: Create release
uses: ncipollo/[email protected]
with:
Expand Down

0 comments on commit c8fc967

Please sign in to comment.