File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -101,9 +101,9 @@ jobs:
101101 git config --global user.email 'github-actions[bot]@users.noreply.github.com'
102102 cd ./src/http-server
103103 if [ "${{ github.event_name }}" == "workflow_dispatch" ]; then
104- echo "CRATE_VERSION=$(cargo tag --no-commit --no-tag -p=v ${{ inputs.version }})" >> $GITHUB_ENV
104+ echo "CRATE_VERSION=$(cargo tag --dry-run -p=v ${{ inputs.version }})" >> $GITHUB_ENV
105105 else
106- echo "CRATE_VERSION=$(cargo tag --no-commit --no-tag -p=v prerelease pre.$(date +%Y%m%d%H%M%S))" >> $GITHUB_ENV
106+ echo "CRATE_VERSION=$(cargo tag --dry-run -p=v prerelease pre.$(date +%Y%m%d%H%M%S))" >> $GITHUB_ENV
107107 fi
108108
109109 - name : Build binary
@@ -159,9 +159,9 @@ jobs:
159159 git config --global user.email 'github-actions[bot]@users.noreply.github.com'
160160 cd ./src/http-server
161161 if [ "${{ github.event_name }}" == "workflow_dispatch" ]; then
162- echo "CRATE_VERSION=$(cargo tag --no-commit --no-tag - p=v ${{ inputs.version }})" >> $GITHUB_ENV
162+ echo "CRATE_VERSION=$(cargo tag -p=v ${{ inputs.version }})" >> $GITHUB_ENV
163163 else
164- echo "CRATE_VERSION=$(cargo tag --no-commit --no-tag - p=v prerelease pre.$(date +%Y%m%d%H%M%S))" >> $GITHUB_ENV
164+ echo "CRATE_VERSION=$(cargo tag -p=v prerelease pre.$(date +%Y%m%d%H%M%S))" >> $GITHUB_ENV
165165 fi
166166 git push origin main --follow-tags
167167
You can’t perform that action at this time.
0 commit comments