Skip to content

Commit

Permalink
chore: update release branch to develop
Browse files Browse the repository at this point in the history
  • Loading branch information
tanyapowell committed Aug 19, 2024
1 parent a1a60e1 commit 1ca65b5
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/deploy-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,23 +76,23 @@ jobs:
git fetch --unshallow --tags
git config --global user.email "${{github.event.pusher.email}}"
git config --global user.name "${{github.event.pusher.name}}"
# Create a new branch for the release
git checkout -b release-$(date +'%Y%m%d%H%M%S')
# Run version bump and changelog update
npx --yes commit-and-tag-version
# Get the new version
new_version=$(git describe --tags --abbrev=0)
# Push the new branch and tag
git push --set-upstream origin HEAD
git push origin $new_version
# Create a pull request
gh pr create --title "Release $new_version" --body "This PR contains version bump and changelog updates for release $new_version" --base main
gh pr create --title "Release $new_version" --body "This PR contains version bump and changelog updates for release $new_version" --base develop
echo 'executed=true' >> $GITHUB_OUTPUT
deploy:
Expand Down

0 comments on commit 1ca65b5

Please sign in to comment.