Skip to content

Commit

Permalink
src/scripts/tag_main.sh: fix the extraneous char in version (zephyrpr…
Browse files Browse the repository at this point in the history
…oject-rtos#14)

- Fix the unwanted "v" in the tag version

Signed-off-by: Connor Graydon <[email protected]>
  • Loading branch information
cjgraydon authored May 24, 2022
1 parent ee7278c commit ccdd7c8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/scripts/tag_main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# If you want to reuse an existing repo, this script makes an attempt to
# clean up. It will nuke, or should, ANYTHING that hasn't been pushed to
# remote. It deletes existing local tags and fetches them fresh. Don't be
# alarmed at the "Deleting tag spew at the command line. It is not nuking
# alarmed at the "Deleting tag" spew at the command line. It is not nuking
# remote tags.
#
# Generates the tag and then shows the details, then prompts for the push
Expand Down Expand Up @@ -79,7 +79,7 @@ done < VERSION

DATE_STAMP=`date "+%Y%m%d"`
echo "DATE: $DATE_STAMP"
VERSION="v"$MAJOR"."$MINOR"."$PATCH"-intel"
VERSION=$MAJOR"."$MINOR"."$PATCH"-intel"
echo "VERSION: $VERSION"
}

Expand All @@ -89,7 +89,6 @@ function make_tag()
# Generate tag in format of: zephyr-VERSION_MAJOR.VERSION_MINOR.PATCHLEVEL
# i.e. zephyr-v3.0.99-intel-<date> zephyr-3.0.99-intel-20220524


TAG=$REPO_DIR"-"$VERSION"-"$DATE_STAMP
echo "TAG: $TAG"

Expand Down

0 comments on commit ccdd7c8

Please sign in to comment.