Skip to content

Commit

Permalink
feat: add github action to set tag
Browse files Browse the repository at this point in the history
  • Loading branch information
lsiebels committed Aug 7, 2024
1 parent f2cc2da commit 69ed6a0
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 1 deletion.
19 changes: 19 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Create Tag

on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: butlerlogic/[email protected]
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
with:
regex_pattern: '"version": "([0-9\.]{5}([-\+][\w\.0-9]+)?)"'
root: "composer.json"
tag_prefix: "v"
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

### Fixed

## [1.0.3] - 2024-08-07

### Added

- Added GitHub action to automatically set tag

## [1.0.2] - 2024-08-05

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

## [1.0.0] - 2024-08-02

[1.0.3]: https://github.com/basecom/magento2-csp-split-header/compare/v1.0.2...v1.0.3
[1.0.2]: https://github.com/basecom/magento2-csp-split-header/compare/v1.0.1...v1.0.2
[1.0.1]: https://github.com/basecom/magento2-csp-split-header/compare/v1.0.0...v1.0.1
[1.0.0]: https://github.com/basecom/magento2-csp-split-header/releases/tag/v1.0.0
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "basecom/magento2-csp-split-header",
"version": "1.0.2",
"version": "1.0.3",
"description": "N/A",
"type": "magento2-module",
"license": [
Expand Down

0 comments on commit 69ed6a0

Please sign in to comment.