-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* rename workflow jobs, make test only run on PRs (#128) * Added a workflow to run on tag creation * don't need to create a release because that's how we'll be creating tags * Update the tag workflow to prepend the changelog to the CHANGELOG.md file * Create CHANGELOG.md * chore: Update CHANGELOG.md * added a trigger for tag so that initial dev deploy is run on tag * chore: Update CHANGELOG.md * fix syntax * added excludes for the changelog * still trying at triggering on tags * chore: Update CHANGELOG.md * Added semver override to fix zero version issue * forgot to define semver * chore: Update CHANGELOG.md * rename workflow jobs, make test only run on PRs (#128) (#129) (#132) --------- Co-authored-by: compscidr <[email protected]>
- Loading branch information
Showing
4 changed files
with
81 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -4,6 +4,8 @@ on: | |
push: | ||
branches: | ||
- main | ||
# triggers on tag creation | ||
create: | ||
|
||
jobs: | ||
deploy-dev: | ||
|
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 |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: Create Release | ||
|
||
on: | ||
push: | ||
tags: | ||
- '*' | ||
|
||
jobs: | ||
create-release: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Create changelog text | ||
id: changelog | ||
uses: loopwerk/tag-changelog@v1 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
exclude: other,doc,chore,build | ||
|
||
# based off example here: https://github.com/loopwerk/tag-changelog/commit/20ca6a4b3f21b7feade68bea88f5cce5bbbdc4b7 | ||
- name: Read CHANGELOG.md | ||
id: readfile | ||
uses: juliangruber/read-file-action@v1 | ||
with: | ||
path: ./CHANGELOG.md | ||
|
||
- name: Write to CHANGELOG.md | ||
uses: DamianReeves/write-file-action@master | ||
with: | ||
path: ./CHANGELOG.md | ||
contents: ${{ steps.changelog.outputs.changelog }}${{ steps.readfile.outputs.content }} | ||
write-mode: overwrite | ||
|
||
- name: Commit and push CHANGELOG.md | ||
uses: EndBug/add-and-commit@v7 | ||
with: | ||
add: CHANGELOG.md | ||
message: "chore: Update CHANGELOG.md" | ||
branch: main |
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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# 1.0.7 - 2023-06-16 | ||
|
||
## Chores | ||
- Update CHANGELOG.md | ||
|
||
## Other Changes | ||
- Added semver override to fix zero version issue | ||
- forgot to define semver | ||
|
||
# 1.0.6 - 2023-06-16 | ||
|
||
## Chores | ||
- Update CHANGELOG.md | ||
|
||
## Other Changes | ||
- fix syntax | ||
- Merge branch 'main' of github.com:compscidr/hello-kotlin-android | ||
- added excludes for the changelog | ||
- still trying at triggering on tags | ||
|
||
# 1.0.5 - 2023-06-16 | ||
|
||
## Chores | ||
- Update CHANGELOG.md | ||
|
||
## Other Changes | ||
- added a trigger for tag so that initial dev deploy is run on tag | ||
- Merge branch 'main' of github.com:compscidr/hello-kotlin-android | ||
|
||
# 1.0.4 - 2023-06-16 | ||
|
||
## Other Changes | ||
- Create CHANGELOG.md |
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