Try to fix versioning
This commit is contained in:
parent
e9759dfdd5
commit
0b9c435b76
8
.github/workflows/tag.yml
vendored
8
.github/workflows/tag.yml
vendored
|
@ -9,11 +9,13 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Determine version
|
||||
id: version
|
||||
run: cat Cargo.toml | grep version | head -1 | sed 's/version = //' | sed 's/"//g'
|
||||
id: determine-version
|
||||
run: |
|
||||
VERSION=$(cat Cargo.toml | grep version | head -1 | sed 's/version = //' | sed 's/"//g')
|
||||
Write-Output "::set-output name=VERSION::$VERSION"
|
||||
|
||||
- uses: Klemensas/action-autotag@stable
|
||||
with:
|
||||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||
version: "${{ steps.version.outputs.result }}"
|
||||
version: "${{ steps.determine-version.outputs.VERSION }}"
|
||||
tag_prefix: "v"
|
Loading…
Reference in New Issue
Block a user