Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
Fix version tags
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielleHuisman committed Oct 17, 2021
1 parent fad1d86 commit 945be97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ VERSION=$(cat package.json \
| grep version \
| tail -1 \
| awk -F: '{ print $2 }' \
| sed 's/[",]//g')
| sed 's/[", ]//g')
MAJOR=$(echo $VERSION | cut -d '.' -f 1)
MINOR=$(echo $VERSION | cut -d '.' -f 2)

Expand All @@ -30,7 +30,7 @@ NEW_VERSION=$(cat package.json \
| grep version \
| tail -1 \
| awk -F: '{ print $2 }' \
| sed 's/[",]//g')
| sed 's/[", ]//g')

echo "UPSTREAM_COMMIT=$UPSTREAM_COMMIT" >> $GITHUB_ENV
echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV

0 comments on commit 945be97

Please sign in to comment.