Skip to content

Commit

Permalink
ci: Small fix to code-freeze (#305)
Browse files Browse the repository at this point in the history
Signed-off-by: Oliver Koenig <okoenig@nvidia.com>
  • Loading branch information
ko3n1g authored Sep 24, 2024
1 parent 0de4fe7 commit fda75a5
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/release-freeze.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,14 @@ jobs:
NEXT_MAJOR=$MAJOR
NEXT_MINOR=$MINOR
NEXT_PRE_RELEASE=rc$(( $(echo $PRE_RELEASE | awk -F"rc" '{print $2}') + 1))
else
elif [[ "${{ inputs.is_major }}" == "true" ]]; then
NEXT_MAJOR=$(( MAJOR + 1))
NEXT_MINOR='0'
NEXT_PRE_RELEASE="'rc0'"
NEXT_MINOR=0
NEXT_PRE_RELEASE=rc0
else
NEXT_MAJOR=$MAJOR
NEXT_MINOR=$(( MINOR + 1))
NEXT_PRE_RELEASE=rc0
fi
sed -i "/^MAJOR/c\MAJOR = $NEXT_MAJOR" nemo_aligner/package_info.py
Expand Down

0 comments on commit fda75a5

Please sign in to comment.