changed version numbering to conform with .deb package policy
This commit is contained in:
parent
ea51e4911a
commit
beb7066cb0
1 changed files with 3 additions and 3 deletions
6
.github/workflows/complib-package.yml
vendored
6
.github/workflows/complib-package.yml
vendored
|
@ -23,7 +23,7 @@ jobs:
|
||||||
id: next_semantic_version
|
id: next_semantic_version
|
||||||
with:
|
with:
|
||||||
branch: "build-test"
|
branch: "build-test"
|
||||||
tag_prefix: "v"
|
tag_prefix: ""
|
||||||
major_pattern: "(MAJOR)"
|
major_pattern: "(MAJOR)"
|
||||||
minor_pattern: "(MINOR)"
|
minor_pattern: "(MINOR)"
|
||||||
format: "${major}.${minor}.${patch}-${increment}"
|
format: "${major}.${minor}.${patch}-${increment}"
|
||||||
|
@ -40,14 +40,14 @@ jobs:
|
||||||
github.rest.git.createRef({
|
github.rest.git.createRef({
|
||||||
owner: context.repo.owner,
|
owner: context.repo.owner,
|
||||||
repo: context.repo.repo,
|
repo: context.repo.repo,
|
||||||
ref: 'refs/tags/v${{steps.next_semantic_version.outputs.version}}',
|
ref: 'refs/tags/${{steps.next_semantic_version.outputs.version}}',
|
||||||
sha: context.sha
|
sha: context.sha
|
||||||
})
|
})
|
||||||
- name: Install fpm
|
- name: Install fpm
|
||||||
run: sudo apt install ruby -y && sudo gem install fpm
|
run: sudo apt install ruby -y && sudo gem install fpm
|
||||||
- name: Build complib deb Package
|
- name: Build complib deb Package
|
||||||
env:
|
env:
|
||||||
VERSION: v${{steps.next_semantic_version.outputs.version}}
|
VERSION: ${{steps.next_semantic_version.outputs.version}}
|
||||||
run: bash ./build.sh # creates packages in "output" directory
|
run: bash ./build.sh # creates packages in "output" directory
|
||||||
- name: Pushes to another repository
|
- name: Pushes to another repository
|
||||||
uses: cpina/github-action-push-to-another-repository@main
|
uses: cpina/github-action-push-to-another-repository@main
|
||||||
|
|
Reference in a new issue