Skip to content

Commit

Permalink
ci: fix auto release (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
pythonbrad committed Apr 28, 2024
1 parent c0bb925 commit 764124a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Check that tag version and Cargo.toml version are the same
shell: bash
run: |
if ! grep -q "version = \"$(echo $VERSION | sed 's/v\(.*\)-.*/\1/')\"" Cargo.toml; then
if ! grep -q "version = \"$(echo $VERSION | sed 's/v\(.*\)-*.*/\1/')\"" Cargo.toml; then
echo "version does not match Cargo.toml" >&2
exit 1
fi
Expand Down Expand Up @@ -152,7 +152,7 @@ jobs:
run: |
mkdir -p "$ARCHIVE"
cp "$BIN" "$ARCHIVE"/
cp {LICENSE,demo.gif,CHANGELOG.md} "$ARCHIVE"/
cp {LICENSE,CHANGELOG.md} "$ARCHIVE"/
- name: Build archive (Windows)
shell: bash
Expand Down

0 comments on commit 764124a

Please sign in to comment.