changed version numbering to conform with .deb package policy

This commit is contained in:
Joel Klimont 2022-10-06 19:46:22 +02:00
parent ea51e4911a
commit beb7066cb0

View file

@ -23,7 +23,7 @@ jobs:
id: next_semantic_version
with:
branch: "build-test"
tag_prefix: "v"
tag_prefix: ""
major_pattern: "(MAJOR)"
minor_pattern: "(MINOR)"
format: "${major}.${minor}.${patch}-${increment}"
@ -40,14 +40,14 @@ jobs:
github.rest.git.createRef({
owner: context.repo.owner,
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
})
- name: Install fpm
run: sudo apt install ruby -y && sudo gem install fpm
- name: Build complib deb Package
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
- name: Pushes to another repository
uses: cpina/github-action-push-to-another-repository@main