Skip to content

Commit

Permalink
Added workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
svetlyak40wt committed Dec 1, 2023
1 parent c620451 commit cb87282
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 19 deletions.
19 changes: 0 additions & 19 deletions .github/workflows/autotag.yml

This file was deleted.

36 changes: 36 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"name": "RELEASE",
"on": {
"push": {
"branches": [
"master"
]
}
},
"jobs": {
"autotag": {
"runs-on": "ubuntu-latest",
"env": {
"OS": "ubuntu-latest"
},
"steps": [
{
"name": "Checkout Code",
"uses": "actions/checkout@v3"
},
{
"name": "Create release tag",
"uses": "butlerlogic/action-autotag@8bc1ad456dcdee34e8c6ffbce991cc31793578c2",
"with": {
"root": "ChangeLog.md",
"regex_pattern": "^## (?<version>\\d+\\.\\d+\\.\\d+.*?)( |\\n).*$",
"tag_prefix": "v"
},
"env": {
"GITHUB_TOKEN": "${{ secrets.DEPLOY_TRIGGER_TOKEN }}"
}
}
]
}
}
}

0 comments on commit cb87282

Please sign in to comment.