Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
mteiting committed Sep 21, 2023
1 parent 3613842 commit 6753146
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,17 @@ jobs:
MAJOR_MINOR_LATEST=$(awk -F. '{ OFS = "." } ; { print $1,$2 }' <<< $LATEST_TAG)
NEW_PATCH="0"
echo $MAJOR_MINOR_LATEST
echo $BUILD_DATE
if [[ "$BUILD_DATE" = "$MAJOR_MINOR_LATEST" ]];
then
PATCH_LATEST=awk -F. '{ print $3 }' <<< $LATEST_TAG
NEW_PATCH=$((PATCH_LATEST + 1))
fi
echo $PATCH_LATEST
echo $NEW_PATCH
echo "release_version=$BUILD_DATE.$NEW_PATCH" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 6753146

Please sign in to comment.