Skip to content

Commit

Permalink
ci: Toggle pre-release (NVIDIA#10395)
Browse files Browse the repository at this point in the history
Signed-off-by: Oliver Koenig <okoenig@nvidia.com>
Signed-off-by: adityavavre <aditya.vavre@gmail.com>
  • Loading branch information
ko3n1g authored and adityavavre committed Sep 15, 2024
1 parent c28bdcf commit d3c37af
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release-freeze.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ jobs:
id: release-branch
run: |
cd ${{ github.run_id }}
VERSION=$(python -c 'import nemo; print(nemo.__version__)')
if [[ "${{ inputs.is_prelease }}" == "false" ]]; then
sed -i '/^PRE_RELEASE/c\PRE_RELEASE = '\''' nemo/package_info.py
fi
VERSION=$(python -c 'import nemo; print(nemo.__version__)')
echo "Release version r$VERSION" > version
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
Expand Down

0 comments on commit d3c37af

Please sign in to comment.