(MINOR) test3
This commit is contained in:
parent
e8497b94e1
commit
57c7596718
1 changed files with 11 additions and 1 deletions
12
.github/workflows/complib-package.yml
vendored
12
.github/workflows/complib-package.yml
vendored
|
@ -26,7 +26,7 @@ jobs:
|
||||||
tag_prefix: "v"
|
tag_prefix: "v"
|
||||||
major_pattern: "(MAJOR)"
|
major_pattern: "(MAJOR)"
|
||||||
minor_pattern: "(MINOR)"
|
minor_pattern: "(MINOR)"
|
||||||
format: "${major}.${minor}.${patch}-prerelease${increment}"
|
format: "${major}.${minor}.${patch}-{increment}"
|
||||||
change_path: "src/my-service"
|
change_path: "src/my-service"
|
||||||
bump_each_commit: false
|
bump_each_commit: false
|
||||||
- name: test
|
- name: test
|
||||||
|
@ -34,3 +34,13 @@ jobs:
|
||||||
echo ${{join(steps.next_semantic_version.outputs.*, ' - ')}}
|
echo ${{join(steps.next_semantic_version.outputs.*, ' - ')}}
|
||||||
echo "Next version: ${{steps.next_semantic_version.outputs.version}}"
|
echo "Next version: ${{steps.next_semantic_version.outputs.version}}"
|
||||||
echo "Next version tag: ${{steps.next_semantic_version.outputs.version_tag}}"
|
echo "Next version tag: ${{steps.next_semantic_version.outputs.version_tag}}"
|
||||||
|
- name: Tag Commit
|
||||||
|
uses: actions/github-script@v5
|
||||||
|
with:
|
||||||
|
script: |
|
||||||
|
github.rest.git.createRef({
|
||||||
|
owner: context.repo.owner,
|
||||||
|
repo: context.repo.repo,
|
||||||
|
ref: 'refs/tags/${{steps.next_semantic_version.outputs.version}}',
|
||||||
|
sha: context.sha
|
||||||
|
})
|
||||||
|
|
Reference in a new issue