Skip to content

Commit

Permalink
update release
Browse files Browse the repository at this point in the history
  • Loading branch information
dhalsim committed Jul 25, 2024
1 parent 4b618ff commit 3aaa6c7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if [ -z "$LATEST_TAG" ]; then
NEW_TAG="v0.0.1"
else
# Increment the version
IFS='.' read -r -a PARTS <<< "${LATEST_TAG#v}"
IFS='.' read -r -a PARTS <<< "$(echo ${LATEST_TAG#v})"
PATCH=${PARTS[2]}
MINOR=${PARTS[1]}
MAJOR=${PARTS[0]}
Expand All @@ -23,7 +23,5 @@ else
fi

echo "New tag: $NEW_TAG"
echo "::set-output name=new_tag::$NEW_TAG"

zip -r release.zip . -i "dist/*.js" "dist/*.css" "dist/*.json"
gh release create "$NEW_TAG" ./release.zip -t "dev release"

0 comments on commit 3aaa6c7

Please sign in to comment.