Skip to content

Commit

Permalink
Fix deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
goce-cz committed Dec 1, 2020
1 parent 8262055 commit f412736
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ jobs:

- name: Setup variables
run: |
GITHUB_TAG=$(echo "$GITHUB_REF" | awk -F '/' '{print $3}')
VERSION=$(echo "$GITHUB_TAG" | sed -e s/^v//)
VERSION_TAG=$(echo "$VERSION" | egrep -o "^[0-9\.]+-[a-z]+[0-9\.]*$" | egrep -o [a-z]+ | cat)
GITHUB_TAG=$(echo ${GITHUB_REF} | awk -F '/' '{print $3}')
VERSION=$(echo ${GITHUB_TAG} | sed -e s/^v//)
VERSION_TAG=$(echo ${VERSION} | egrep -o '^[0-9\.]+-[a-z]+[0-9\.]*$' | egrep -o [a-z]+ | cat)
echo "::set-env name=GITHUB_TAG::$GITHUB_TAG"
echo "::set-env name=VERSION::$VERSION"
echo "::set-env name=VERSION_TAG::$VERSION_TAG"
echo "GITHUB_TAG=$GITHUB_TAG" >> $GITHUB_ENV
echo "VERSION=$VERSION" >> $GITHUB_ENV
echo "VERSION_TAG=$VERSION_TAG" >> $GITHUB_ENV
- name: Install Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
Expand Down

0 comments on commit f412736

Please sign in to comment.