Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ci-auto-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ jobs:
with:
python_version: ${{ env.TARGET_PYTHON_VERSION }}

- name: Delete latest tag
- name: Delete dev-release tag
id: del-prev-rel
uses: dev-drprasad/delete-tag-and-release@v0.2.1
with:
tag_name: latest
tag_name: dev-release
delete_release: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -53,7 +53,7 @@ jobs:
uses: softprops/action-gh-release@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
tag_name: latest
tag_name: dev-release
prerelease: true
name: Pre-release (dev build)
generate_release_notes: true
Expand Down
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,32 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

---

## [**2.0.0**] - 2023-04-04

## Added

- Action for auto releases in pushes to master. Release tag is set to 'latest' automatically.
- Action for tagged releases in tag pushes.
- Action for running unit tests inside the repo.
- Template action for python's tagged release.
- Template action for python's auto release.
- Updated project description and files.
- Template action for generic's tagged release.
- Template action for generic's auto release.
- Template action for cpp's tagged release.
- Template action for cpp's auto release.
- Auto-releases and tagged releases now will pick body from this file.
- Upgrade project documentation.

## Changed

- Interface and variable selection.
- Simplified config. process with less options.

### Fixed

- Fixes along the actions, both templated and the ones for this very repository.

## [**1.2.1**] - 2023-03-13

### Added
Expand Down
5 changes: 0 additions & 5 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
## TODO

- Extensive test it in example repos.
-

## Added

- Action for auto releases in pushes to master. Release tag is set to 'latest' automatically.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This repository can be used for adding Github Actions and templates to an existi

## Version

Current version is 1.2.1 and was set according to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
Current version is 2.0.0 and was set according to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

Project's version should be updated, when applicable:

Expand Down Expand Up @@ -87,7 +87,7 @@ you will be prompted to fill in the following values:
tag), triggered on pushes to master branch.
- generate tagged releases: action to generate tagged releases (releases, semver tagged),
triggered on "\*.\*.\*" tags pushed to the repository.
- **ci_runner**: Target runner(s) in which to generate the action. More info in [GitHub-hosted](https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners) runners and [self-hosted runners](https://docs.github.com/en/actions/hosting-your-own-runners/using-self-hosted-runners-in-a-workflow). Defaults to ubuntu-20.04.
- **ci_runner**: Target runner(s) in which to generate the action. More info in [GitHub-hosted](https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners) runners and [self-hosted runners](https://docs.github.com/en/actions/hosting-your-own-runners/using-self-hosted-runners-in-a-workflow). Defaults to ubuntu-20.04 (GitHub hosted).

**NOTE:** Each added language actions will be accompanied of a markdown checklist, stating the
changes / configuration required to fine tune it.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ jobs:
cd build
cpack

- name: Delete latest tag
- name: Delete dev-release tag
id: delete-prev-rel
uses: dev-drprasad/delete-tag-and-release@v0.2.1
with:
tag_name: latest
tag_name: dev-release
delete_release: true
env:
GITHUB_TOKEN: {{ '${{ secrets.GITHUB_TOKEN }}' }}
Expand All @@ -86,7 +86,7 @@ jobs:
uses: softprops/action-gh-release@v1
with:
token: {{ '${{ secrets.GITHUB_TOKEN }}' }}
tag_name: latest
tag_name: dev-release
prerelease: true
name: Pre-release (dev build)
generate_release_notes: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Delete latest tag
id: del-latest-tag
- name: Delete dev-release tag
id: del-dev-release-tag
uses: dev-drprasad/delete-tag-and-release@v0.2.1
with:
tag_name: latest
tag_name: dev-release
delete_release: true
env:
GITHUB_TOKEN: {{ '${{ secrets.GITHUB_TOKEN }}' }}
Expand All @@ -30,7 +30,8 @@ jobs:
uses: softprops/action-gh-release@v1
with:
token: {{ '${{ secrets.GITHUB_TOKEN }}' }}
tag_name: latest
tag_name: dev-release
generate_release_notes: true
prerelease: true
name: Pre-release (dev build)
# body_path: {{ '${{ github.workspace }}' }}/CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@ jobs:
with:
token: {{ '${{ secrets.GITHUB_TOKEN }}' }}
prerelease: false
generate_release_notes: true
# body_path: {{ '${{ github.workspace }}' }}/CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ jobs:
rm -rf dist
poetry build

- name: Delete latest tag
- name: Delete dev-release tag
id: delete-prev-rel
uses: dev-drprasad/delete-tag-and-release@v0.2.1
with:
tag_name: latest
tag_name: dev-release
delete_release: true
env:
GITHUB_TOKEN: {{ '${{ secrets.GITHUB_TOKEN }}' }}
Expand All @@ -75,7 +75,7 @@ jobs:
uses: softprops/action-gh-release@v1
with:
token: {{ '${{ secrets.GITHUB_TOKEN }}' }}
tag_name: latest
tag_name: dev-release
prerelease: true
name: Pre-release (dev build)
generate_release_notes: true
Expand Down