Skip to content

Commit

Permalink
- updated VERSION file to have a v prefixing the version.
Browse files Browse the repository at this point in the history
- updated release.sh to not double up the leading v's.
  • Loading branch information
jason-c-daniels committed Aug 5, 2022
1 parent 91b9ab4 commit fd2f875
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ DEST_DIR=$(realpath "$DEST_DIR")

# read the current app version.
VERSION=$(<"$THIS_DIR/src/.jcd-new/VERSION")
# shellcheck disable=SC2001
VERSION=$(echo "$VERSION"| sed "s/^v//g" )

# compose the target zip file name
ZIP_FILE_NAME="$DEST_DIR/jcd-new_v$VERSION.zip"
Expand Down
2 changes: 1 addition & 1 deletion src/.jcd-new/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.4-alpha
v0.0.4-alpha

0 comments on commit fd2f875

Please sign in to comment.