Skip to content

Commit 767f8da

Browse files
authored
Merge pull request #20 from ferreteleco:feature/minor-updates-and-release
Feature/minor-updates-and-release
2 parents 2e28c29 + 7463e7c commit 767f8da

File tree

8 files changed

+43
-20
lines changed

8 files changed

+43
-20
lines changed

.github/workflows/ci-auto-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ jobs:
3939
with:
4040
python_version: ${{ env.TARGET_PYTHON_VERSION }}
4141

42-
- name: Delete latest tag
42+
- name: Delete dev-release tag
4343
id: del-prev-rel
4444
uses: dev-drprasad/delete-tag-and-release@v0.2.1
4545
with:
46-
tag_name: latest
46+
tag_name: dev-release
4747
delete_release: true
4848
env:
4949
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -53,7 +53,7 @@ jobs:
5353
uses: softprops/action-gh-release@v1
5454
with:
5555
token: ${{ secrets.GITHUB_TOKEN }}
56-
tag_name: latest
56+
tag_name: dev-release
5757
prerelease: true
5858
name: Pre-release (dev build)
5959
generate_release_notes: true

CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,32 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

88
---
99

10+
## [**2.0.0**] - 2023-04-04
11+
12+
## Added
13+
14+
- Action for auto releases in pushes to master. Release tag is set to 'latest' automatically.
15+
- Action for tagged releases in tag pushes.
16+
- Action for running unit tests inside the repo.
17+
- Template action for python's tagged release.
18+
- Template action for python's auto release.
19+
- Updated project description and files.
20+
- Template action for generic's tagged release.
21+
- Template action for generic's auto release.
22+
- Template action for cpp's tagged release.
23+
- Template action for cpp's auto release.
24+
- Auto-releases and tagged releases now will pick body from this file.
25+
- Upgrade project documentation.
26+
27+
## Changed
28+
29+
- Interface and variable selection.
30+
- Simplified config. process with less options.
31+
32+
### Fixed
33+
34+
- Fixes along the actions, both templated and the ones for this very repository.
35+
1036
## [**1.2.1**] - 2023-03-13
1137

1238
### Added

CHANGES.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
## TODO
2-
3-
- Extensive test it in example repos.
4-
-
5-
61
## Added
72

83
- Action for auto releases in pushes to master. Release tag is set to 'latest' automatically.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This repository can be used for adding Github Actions and templates to an existi
44

55
## Version
66

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

99
Project's version should be updated, when applicable:
1010

@@ -87,7 +87,7 @@ you will be prompted to fill in the following values:
8787
tag), triggered on pushes to master branch.
8888
- generate tagged releases: action to generate tagged releases (releases, semver tagged),
8989
triggered on "\*.\*.\*" tags pushed to the repository.
90-
- **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.
90+
- **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).
9191

9292
**NOTE:** Each added language actions will be accompanied of a markdown checklist, stating the
9393
changes / configuration required to fine tune it.

{{ cookiecutter.__github_folder }}/_/cpp/workflows/ci-auto-release-cpp.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@ jobs:
7272
cd build
7373
cpack
7474
75-
- name: Delete latest tag
75+
- name: Delete dev-release tag
7676
id: delete-prev-rel
7777
uses: dev-drprasad/delete-tag-and-release@v0.2.1
7878
with:
79-
tag_name: latest
79+
tag_name: dev-release
8080
delete_release: true
8181
env:
8282
GITHUB_TOKEN: {{ '${{ secrets.GITHUB_TOKEN }}' }}
@@ -86,7 +86,7 @@ jobs:
8686
uses: softprops/action-gh-release@v1
8787
with:
8888
token: {{ '${{ secrets.GITHUB_TOKEN }}' }}
89-
tag_name: latest
89+
tag_name: dev-release
9090
prerelease: true
9191
name: Pre-release (dev build)
9292
generate_release_notes: true

{{ cookiecutter.__github_folder }}/_/generic/workflows/ci-auto-release-generic.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ jobs:
1616
- name: Checkout
1717
uses: actions/checkout@v3
1818

19-
- name: Delete latest tag
20-
id: del-latest-tag
19+
- name: Delete dev-release tag
20+
id: del-dev-release-tag
2121
uses: dev-drprasad/delete-tag-and-release@v0.2.1
2222
with:
23-
tag_name: latest
23+
tag_name: dev-release
2424
delete_release: true
2525
env:
2626
GITHUB_TOKEN: {{ '${{ secrets.GITHUB_TOKEN }}' }}
@@ -30,7 +30,8 @@ jobs:
3030
uses: softprops/action-gh-release@v1
3131
with:
3232
token: {{ '${{ secrets.GITHUB_TOKEN }}' }}
33-
tag_name: latest
33+
tag_name: dev-release
34+
generate_release_notes: true
3435
prerelease: true
3536
name: Pre-release (dev build)
3637
# body_path: {{ '${{ github.workspace }}' }}/CHANGES.md

{{ cookiecutter.__github_folder }}/_/generic/workflows/ci-tagged-release-generic.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,5 @@ jobs:
2323
with:
2424
token: {{ '${{ secrets.GITHUB_TOKEN }}' }}
2525
prerelease: false
26+
generate_release_notes: true
2627
# body_path: {{ '${{ github.workspace }}' }}/CHANGES.md

{{ cookiecutter.__github_folder }}/_/python/workflows/ci-auto-release-python.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@ jobs:
6161
rm -rf dist
6262
poetry build
6363
64-
- name: Delete latest tag
64+
- name: Delete dev-release tag
6565
id: delete-prev-rel
6666
uses: dev-drprasad/delete-tag-and-release@v0.2.1
6767
with:
68-
tag_name: latest
68+
tag_name: dev-release
6969
delete_release: true
7070
env:
7171
GITHUB_TOKEN: {{ '${{ secrets.GITHUB_TOKEN }}' }}
@@ -75,7 +75,7 @@ jobs:
7575
uses: softprops/action-gh-release@v1
7676
with:
7777
token: {{ '${{ secrets.GITHUB_TOKEN }}' }}
78-
tag_name: latest
78+
tag_name: dev-release
7979
prerelease: true
8080
name: Pre-release (dev build)
8181
generate_release_notes: true

0 commit comments

Comments
 (0)