Skip to content

Commit

Permalink
fix: push on pull request
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas GRUSON committed Feb 9, 2021
1 parent 78cbb18 commit 1e39169
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,9 @@ jobs:
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
VERSION=$(cat charts/dev/Chart.yaml | grep version | sed -e 's/version: //')
git commit -am "chore: auto-commit chart ${VERSION}"
git push
git push origin HEAD:${PR_BRANCH_NAME}
env:
PR_BRANCH_NAME: '${{github.payload.pull_request.head.ref}}'
- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.0.0
env:
Expand Down
2 changes: 1 addition & 1 deletion code/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ update-all-version: update-chart-version update-maven-version update-front-versi

update-chart-version:
@echo '-- Update Helm Chart version --'
@sed -i'.old' 's/^version:.*$\/version: $(VERSION)-rc.1/' ../charts/dev/Chart.yaml
@sed -i'.old' 's/^version:.*$\/version: $(VERSION)-rc.0/' ../charts/dev/Chart.yaml

update-maven-version:
@echo '-- Update Maven version --'
Expand Down

0 comments on commit 1e39169

Please sign in to comment.