Skip to content

Commit

Permalink
Correct description of the step
Browse files Browse the repository at this point in the history
  • Loading branch information
pallavisontakke committed Jan 31, 2025
1 parent f339994 commit ecba909
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/minor_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,16 @@ jobs:
- name: Test env var NEW_MINOR_VERSION
run: echo $NEW_MINOR_VERSION

- name: Create PR to main branch for minor release
- name: Create PR to bump version in the main branch
env:
GITHUB_TOKEN: ${{ secrets.ORG_AUTOMATION_TOKEN }}
run: |
git remote --verbose
git checkout -b release/${{ env.NEW_VERSION }}-dev origin/main
git checkout -b release/bump-version-in-main-to-${{ env.NEW_VERSION }}-dev origin/main
sed -i.bak "s/${{ env.CURRENT_MINOR_VERSION }}/${{ env.NEW_MINOR_VERSION }}/g" version.config
rm version.config.bak
git commit --no-verify -a -m "Bump version to ${{ env.NEW_MINOR_VERSION }}-dev"
git push origin release/${{ env.NEW_VERSION }}-dev
git push origin release/bump-version-in-main-to-${{ env.NEW_VERSION }}-dev
- name: Checkout TimescaleDB
uses: actions/checkout@v4
Expand Down

0 comments on commit ecba909

Please sign in to comment.