Skip to content

Commit 764124a

Browse files
committed
ci: fix auto release (#77)
1 parent c0bb925 commit 764124a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Check that tag version and Cargo.toml version are the same
3131
shell: bash
3232
run: |
33-
if ! grep -q "version = \"$(echo $VERSION | sed 's/v\(.*\)-.*/\1/')\"" Cargo.toml; then
33+
if ! grep -q "version = \"$(echo $VERSION | sed 's/v\(.*\)-*.*/\1/')\"" Cargo.toml; then
3434
echo "version does not match Cargo.toml" >&2
3535
exit 1
3636
fi
@@ -152,7 +152,7 @@ jobs:
152152
run: |
153153
mkdir -p "$ARCHIVE"
154154
cp "$BIN" "$ARCHIVE"/
155-
cp {LICENSE,demo.gif,CHANGELOG.md} "$ARCHIVE"/
155+
cp {LICENSE,CHANGELOG.md} "$ARCHIVE"/
156156
157157
- name: Build archive (Windows)
158158
shell: bash

0 commit comments

Comments
 (0)