Skip to content

Commit 8b5eac4

Browse files
authored
chore(cd): artifacts should have version
1 parent 579debc commit 8b5eac4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,9 @@ jobs:
9999
run: |
100100
cd ./src/http-server
101101
if [ "${{ github.event_name }}" == "workflow_dispatch" ]; then
102-
echo "CRATE_VERSION=$(cargo tag --dry-run -p=v ${{ inputs.version }})" >> $GITHUB_ENV
102+
echo "CRATE_VERSION=$(cargo tag --no-tag --no-commit -p=v ${{ inputs.version }})" >> $GITHUB_ENV
103103
else
104-
echo "CRATE_VERSION=$(cargo tag --dry-run -p=v prerelease pre.$(date +%Y%m%d%H%M%S))" >> $GITHUB_ENV
104+
echo "CRATE_VERSION=$(cargo tag --no-tag --no-commit -p=v prerelease pre.$(date +%Y%m%d%H%M%S))" >> $GITHUB_ENV
105105
fi
106106
107107
- name: Build binary

0 commit comments

Comments
 (0)