Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikwidlund committed Sep 15, 2021
1 parent 5744ee7 commit 3b53af3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
id: set_version
with:
script: |
const tag = context.ref
const tag = ${{ git describe --tags --abbrev=0 }}
const no_v = tag.replace('v', '')
const dash_index = no_v.lastIndexOf('-')
const no_dash = (dash_index > -1) ? no_v.substring(0, dash_index) : no_v
Expand Down

0 comments on commit 3b53af3

Please sign in to comment.