File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -200,17 +200,16 @@ jobs:
200
200
201
201
- name : Parse release version
202
202
id : release
203
- run : echo ::set-output
204
- name=version::${GITHUB_REF#refs/tags/v}
203
+ run : echo "version=${GITHUB_REF#refs/tags/v}"
205
204
- name : Verify release version matches Cargo manifest
206
205
run : |
207
206
test "${{ steps.release.outputs.version }}" \
208
207
== "$(grep -m1 'version = "' Cargo.toml | cut -d '"' -f2)"
209
208
210
209
- name : Parse CHANGELOG link
211
210
id : changelog
212
- run : echo ::set-output
213
- name=link::${{ github.server_url }}/${{ github.repository }}/blob/v${{ steps.release.outputs.version }}/CHANGELOG.md#$(sed -n '/^## \[${{ steps.release.outputs.version }}\]/{s/^## \[\(.*\)\][^0-9]*\([0-9].*\)/\1--\2/;s/[^0-9a-z-]*//g;p;}' CHANGELOG.md)
211
+ run : echo "link=${{ github.server_url }}/${{ github.repository }}/blob/v${{ steps.release.outputs.version }}/CHANGELOG.md#$(sed -n '/^## \[${{ steps.release.outputs.version }}\]/{s/^## \[\(.*\)\][^0-9]*\([0-9].*\)/\1--\2/;s/[^0-9a-z-]*//g;p;}' CHANGELOG.md)"
212
+ >> $GITHUB_OUTPUT
214
213
215
214
- uses : softprops/action-gh-release@v1
216
215
with :
You can’t perform that action at this time.
0 commit comments