From beb7066cb06106c93fbab0a0e6eea1ebe6d22130 Mon Sep 17 00:00:00 2001 From: Joel Klimont Date: Thu, 6 Oct 2022 19:46:22 +0200 Subject: [PATCH] changed version numbering to conform with .deb package policy --- .github/workflows/complib-package.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/complib-package.yml b/.github/workflows/complib-package.yml index 3be9cd5..3dc6be3 100644 --- a/.github/workflows/complib-package.yml +++ b/.github/workflows/complib-package.yml @@ -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