Skip to content

Commit

Permalink
Merge pull request #593 from CodingBlackFemales/develop
Browse files Browse the repository at this point in the history
Dependency Updates release to production
  • Loading branch information
tanyapowell authored Sep 16, 2024
2 parents 6b90497 + a4195b0 commit 19cf420
Show file tree
Hide file tree
Showing 7 changed files with 157 additions and 156 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
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.

## [0.1.31](https://github.com/CodingBlackFemales/wordpress/compare/v0.1.30...v0.1.31) (2024-08-19)

## 0.1.30 (2024-07-24)


Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"roots/multisite-url-fixer": "^1.1",
"roots/wordpress": "^6.2",
"roots/wp-config": "1.0.0",
"roots/wp-password-bcrypt": "1.1.0",
"roots/wp-password-bcrypt": "1.2.0",
"sleiman/airtable-php": "^3.0",
"vlucas/phpdotenv": "^5.5",
"wp-cli/wp-cli-bundle": "~2.11.0",
Expand Down
Loading

0 comments on commit 19cf420

Please sign in to comment.