set on master

This commit is contained in:
Marco Carrozzo
2023-01-11 12:11:11 +01:00
parent 603a1564cc
commit 2018956356
2 changed files with 1 additions and 2 deletions

View File

@@ -85,4 +85,4 @@ jobs:
- name: "Release tag"
run: |
git fetch --all --quiet
TRAVIS_BRANCH=master; set -u; bash -x ./scripts/travis/release/git-tag.sh ${{ steps.set-dryrun.outputs.dryrun }}
set -u; TRAVIS_BRANCH=master bash -x ./scripts/travis/release/git-tag.sh ${{ steps.set-dryrun.outputs.dryrun }}

View File

@@ -1,5 +1,4 @@
#!/bin/bash
echo "ARG: $1"
if [[ $TRAVIS_BRANCH == "master" ]]; then
VERSION=$(grep -m1 version package.json | awk '{ print $2 }' | sed 's/[", ]//g')
else