Skip to content

Commit

Permalink
Delete VERSION file after reading.
Browse files Browse the repository at this point in the history
  • Loading branch information
Knucklessg1 committed Jan 4, 2024
1 parent e8ef0cd commit 7bd84fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/python_pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ jobs:
COMMIT_MESSAGE=$(echo "${{ github.event.head_commit.message }}" | tr -d '\n')
echo "Commit Message: $COMMIT_MESSAGE"
NEW_VERSION="$(cat VERSION)"
rm -rf ./VERSION
echo -e "Old Version: $CURRENT_RELEASE\nNew Version: $NEW_VERSION"
sed -i "s/CURRENT_VERSION=.*$/CURRENT_VERSION=$NEW_VERSION/" $GITHUB_ENV
echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV
Expand Down

0 comments on commit 7bd84fe

Please sign in to comment.