mirror of
https://github.com/rlespinasse/github-slug-action.git
synced 2026-06-13 01:51:09 +00:00
ci: improve release process
This commit is contained in:
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@@ -10,13 +10,14 @@ jobs:
|
|||||||
args: "--recursive ."
|
args: "--recursive ."
|
||||||
- uses: cycjimmy/semantic-release-action@v2
|
- uses: cycjimmy/semantic-release-action@v2
|
||||||
with:
|
with:
|
||||||
|
semantic_version: 17.0.7
|
||||||
branches: |
|
branches: |
|
||||||
[
|
[
|
||||||
'v1.1.x',
|
'v1.1.x',
|
||||||
'v2.x'
|
'v2.x'
|
||||||
]
|
]
|
||||||
extra_plugins: |
|
extra_plugins: |
|
||||||
@semantic-release/git
|
@semantic-release/changelog@5.0.1
|
||||||
@semantic-release/changelog
|
@semantic-release/git@9.0.0
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
|
||||||
|
|||||||
2
package-lock.json
generated
2
package-lock.json
generated
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "github-slug-action",
|
"name": "github-slug-action",
|
||||||
"version": "1.0.1",
|
"version": "0.0.0",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
22
package.json
22
package.json
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "github-slug-action",
|
"name": "github-slug-action",
|
||||||
"version": "1.1.0",
|
"version": "0.0.0",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "docker run -w /workdir -v $(pwd):/workdir ffurrer/bats:latest --recursive .",
|
"test": "docker run -w /workdir -v $(pwd):/workdir ffurrer/bats:latest --recursive .",
|
||||||
@@ -11,9 +11,9 @@
|
|||||||
"url": "http://github.com/rlespinasse/github-slug-action.git"
|
"url": "http://github.com/rlespinasse/github-slug-action.git"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@semantic-release/changelog": "^5.0.1",
|
"@semantic-release/changelog": "5.0.1",
|
||||||
"@semantic-release/git": "^9.0.0",
|
"@semantic-release/git": "9.0.0",
|
||||||
"semantic-release": "^17.0.7"
|
"semantic-release": "17.0.7"
|
||||||
},
|
},
|
||||||
"release": {
|
"release": {
|
||||||
"tagFormat": "${version}",
|
"tagFormat": "${version}",
|
||||||
@@ -21,16 +21,12 @@
|
|||||||
"@semantic-release/commit-analyzer",
|
"@semantic-release/commit-analyzer",
|
||||||
"@semantic-release/release-notes-generator",
|
"@semantic-release/release-notes-generator",
|
||||||
"@semantic-release/changelog",
|
"@semantic-release/changelog",
|
||||||
[
|
"@semantic-release/git",
|
||||||
"@semantic-release/git",
|
|
||||||
{
|
|
||||||
"assets": [
|
|
||||||
"package.json"
|
|
||||||
],
|
|
||||||
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"@semantic-release/github"
|
"@semantic-release/github"
|
||||||
|
],
|
||||||
|
"branches": [
|
||||||
|
"v1.1.x",
|
||||||
|
"v2.x"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user