mirror of
https://github.com/gurucomputing/headscale-ui.git
synced 2026-01-23 02:34:43 +00:00
more CI/CD fixes
This commit is contained in:
parent
4b77ea7c2f
commit
7a494695aa
1 changed files with 3 additions and 2 deletions
5
.github/workflows/publish-release.yaml
vendored
5
.github/workflows/publish-release.yaml
vendored
|
|
@ -16,11 +16,12 @@ jobs:
|
|||
id: gathervars
|
||||
run: |
|
||||
# get a current BUILD_DATE
|
||||
VERSION=$(jq -r '.version' ./package.json)
|
||||
echo "::set-output name=BUILD_DATE::$(date +%Y%m%d-%H%M%S)"
|
||||
echo "::set-output name=VERSION::$(jq -r '.version' ./package.json)"
|
||||
echo "::set-output name=VERSION::$VERSION"
|
||||
|
||||
# setting tags
|
||||
if jq -r '.version' ./package.json | grep -q "beta"; then
|
||||
if echo "$VERSION" | grep -q "beta"; then
|
||||
TAGS="beta, $VERSION, latest"
|
||||
PRIMARY_TAG=latest
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue