Skip to content

Commit 69ed6a0

Browse files
committed
feat: add github action to set tag
1 parent f2cc2da commit 69ed6a0

File tree

3 files changed

+27
-1
lines changed

3 files changed

+27
-1
lines changed

.github/workflows/main.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Create Tag
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: butlerlogic/[email protected]
14+
env:
15+
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
16+
with:
17+
regex_pattern: '"version": "([0-9\.]{5}([-\+][\w\.0-9]+)?)"'
18+
root: "composer.json"
19+
tag_prefix: "v"

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1515

1616
### Fixed
1717

18+
## [1.0.3] - 2024-08-07
19+
20+
### Added
21+
22+
- Added GitHub action to automatically set tag
23+
1824
## [1.0.2] - 2024-08-05
1925

2026
### Added
@@ -29,6 +35,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
2935

3036
## [1.0.0] - 2024-08-02
3137

38+
[1.0.3]: https://github.com/basecom/magento2-csp-split-header/compare/v1.0.2...v1.0.3
3239
[1.0.2]: https://github.com/basecom/magento2-csp-split-header/compare/v1.0.1...v1.0.2
3340
[1.0.1]: https://github.com/basecom/magento2-csp-split-header/compare/v1.0.0...v1.0.1
3441
[1.0.0]: https://github.com/basecom/magento2-csp-split-header/releases/tag/v1.0.0

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "basecom/magento2-csp-split-header",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"description": "N/A",
55
"type": "magento2-module",
66
"license": [

0 commit comments

Comments
 (0)