mirror of
https://github.com/gravitl/netmaker.git
synced 2024-11-10 17:48:25 +08:00
check for version input
This commit is contained in:
parent
80b7862370
commit
db00d84df8
1 changed files with 1 additions and 1 deletions
2
.github/workflows/buildandrelease.yml
vendored
2
.github/workflows/buildandrelease.yml
vendored
|
@ -18,7 +18,7 @@ jobs:
|
|||
steps:
|
||||
- name: Get Version Number
|
||||
run: |
|
||||
if [[ -n ${VERSION} || -n ${TAG} ]]; then
|
||||
if [[ -n "${{ github.event.inputs.version }}" ]]; then
|
||||
NETMAKER_VERSION=${{ github.event.inputs.version }}
|
||||
else
|
||||
NETMAKER_VERSION=$(curl -fsSL https://api.github.com/repos/gravitl/netmaker/tags | grep 'name' | head -1 | cut -d'"' -f4)
|
||||
|
|
Loading…
Reference in a new issue