-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add changelog step to create release workflow
Signed-off-by: rtang03 <[email protected]>
- Loading branch information
Showing
4 changed files
with
26 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -87,6 +87,28 @@ jobs: | |
run: | | ||
set -x | ||
tar -czvf dev-net.tar.gz /home/runner/work/fabric-es/fabric-es/deployments/dev-net | ||
- name: Generate changelog | ||
uses: charmixer/[email protected] | ||
with: | ||
token: ${{ secrets.CI_TOKEN }} | ||
since_tag: v0.6.1 | ||
exclude_tags: "v0.5.13,v0.5.14" | ||
- name: Commit files | ||
env: | ||
CI_USER: ${{ secrets.CI_USER }} | ||
CI_EMAIL: ${{ secrets.CI_EMAIL }} | ||
ACTIONS_ALLOW_UNSECURE_COMMANDS: true | ||
run: | | ||
git config --local user.email "$CI_EMAIL" | ||
git config --local user.name "$CI_USER" | ||
git add CHANGELOG.md && git commit -m 'Updated CHANGELOG.md' && echo ::set-env name=push::1 || echo "No changes to CHANGELOG.md" | ||
- name: Push changes | ||
if: env.push == 1 | ||
env: | ||
CI_USER: ${{ secrets.CI_USER }} | ||
CI_TOKEN: ${{ secrets.CI_TOKEN }} | ||
run: | | ||
git push "https://$CI_USER:[email protected]/$GITHUB_REPOSITORY.git" HEAD:master | ||
- name: Create Release | ||
uses: docker://antonyurchenko/git-release:latest | ||
env: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters