-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
36 additions
and
2 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 |
---|---|---|
|
@@ -86,7 +86,6 @@ workflows: | |
context: your-context # Case contain your Github Token | ||
token: GITHUB_TOKEN # Token as env_var | ||
git-push: true # Push changelog to remote repository | ||
push-force: true # Force the push to remote repository | ||
filters: *orb_tagged_filters # Trigger to only tag | ||
``` | ||
|
@@ -113,6 +112,15 @@ workflows: | |
context: your-context # Case contain your Github Token | ||
token: GITHUB_TOKEN # Token as env_var | ||
git-push: false # The changelog will be stored in /tmp/.persist/persist/ and can be retrieved using: - attach_workspace: at: tmp //https://circleci.com/docs/2.0/configuration-reference/#example-7 | ||
#Push the changelog to remote repository manually | ||
post-steps: | ||
- run: | ||
command: | | ||
git config user.name "BotUsername" | ||
git config user.email "[email protected]" | ||
git add CHANGELOG.md | ||
git commit -m "Your description [skip ci]" | ||
git push -q https://$<<parameters.token>>@github.com/YourUser/YourProjectName.git master | ||
filters: *orb_tagged_filters # Trigger to only tag | ||
``` | ||
|
@@ -143,7 +151,6 @@ workflows: | |
context: your-context # Case contain your Github Token | ||
token: GITHUB_TOKEN # Token as env_var | ||
git-push: true # Push changelog to remote repository | ||
push-force: true # Force the push to remote repository | ||
commit-message: Update changelog # Custom commit message | ||
bot-name: my-bot # Custom bot name | ||
bot-email: [email protected] # Custom bot email | ||
|
@@ -183,6 +190,15 @@ workflows: | |
output: CUSTOM-CHANGELOG.md | ||
breaking-label: "**Breaking**" | ||
bugs-label: "**Bugs**" | ||
#Push the changelog to remote repository manually | ||
post-steps: | ||
- run: | ||
command: | | ||
git config user.name "BotUsername" | ||
git config user.email "[email protected]" | ||
git add CHANGELOG.md | ||
git commit -m "Your description [skip ci]" | ||
git push -q https://$<<parameters.token>>@github.com/YourUser/YourProjectName.git master | ||
filters: *orb_tagged_filters # Trigger to only tag | ||
``` | ||
|
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 |
---|---|---|
|
@@ -46,6 +46,15 @@ usage: | |
output: CUSTOM-CHANGELOG.md | ||
breaking-label: "**Breaking**" | ||
bugs-label: "**Bugs**" | ||
#Push the changelog to remote repository manually | ||
post-steps: | ||
- run: | ||
command: | | ||
git config user.name "BotUsername" | ||
git config user.email "[email protected]" | ||
git add CHANGELOG.md | ||
git commit -m "Your description [skip ci]" | ||
git push -q https://$<<parameters.token>>@github.com/YourUser/YourProjectName.git master | ||
filters: *orb_tagged_filters # Trigger to only tag | ||
- print-changelog: | ||
filters: *orb_tagged_filters | ||
|
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 |
---|---|---|
|
@@ -42,6 +42,15 @@ usage: | |
context: your-context # Case contain your Github Token | ||
token: GITHUB_TOKEN # Token as env_var | ||
push-git: false # The changelog will be save on /tmp/.persist/persist/ | ||
#Push the changelog to remote repository manually | ||
post-steps: | ||
- run: | ||
command: | | ||
git config user.name "BotUsername" | ||
git config user.email "[email protected]" | ||
git add CHANGELOG.md | ||
git commit -m "Your description [skip ci]" | ||
git push -q https://$<<parameters.token>>@github.com/YourUser/YourProjectName.git master | ||
filters: *orb_tagged_filters # Trigger to only tag | ||
- print-changelog: | ||
filters: *orb_tagged_filters | ||
|