Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
ami-ci committed Dec 19, 2023
2 parents e637963 + e8f1ff4 commit 6f24ace
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 2 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/release_hotfix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,16 @@ jobs:
run: |
git config user.name "ami-ci"
git config user.email "<>"
# Update the package.json version. Skip the git tag, we'll do that later
npm version ${{ steps.bump-semver.outputs.new_version }} --no-git-tag-version

# Commit the changed package.json file to master
git add package.json
git commit -m "Bump version to ${{ steps.bump-semver.outputs.new_version }} [skip ci]"
git push origin master

# Tag the new version
git tag ${{ steps.bump-semver.outputs.new_version }}
git push origin ${{ steps.bump-semver.outputs.new_version }}

14 changes: 13 additions & 1 deletion .github/workflows/release_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,22 @@ jobs:
run: |
git config user.name "ami-ci"
git config user.email "<>"
git pull origin develop
git checkout develop
# Update the package.json version. Skip the git tag, we'll do that later
npm version ${{ steps.bump-semver.outputs.new_version }} --no-git-tag-version

# Commit the changed package.json file to develop
git add package.json
git commit -m "Bump version to ${{ steps.bump-semver.outputs.new_version }} [skip ci]"
git push origin develop

# Merge develop into master
git checkout master
git merge develop
git push origin master

# Tag the new version
git tag ${{ steps.bump-semver.outputs.new_version }}
git push origin ${{ steps.bump-semver.outputs.new_version }}

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "customerio-gist-web",
"version": "3.6.4",
"version": "3.6.5",
"description": "Build beautiful in-app flows with no code and deliver them instantly to your app. http://customer.io",
"private": false,
"scripts": {
Expand Down

0 comments on commit 6f24ace

Please sign in to comment.