Closed sefasenturk95 closed 1 week ago
Yes, that would be expected
The action doesn't know how to ignore all the text before the version number
Not the issue, but I noticed you have a "v" character in the push, but not in the tag?
git tag "@org/${{secrets.PRODUCT_NAME}}@${{ steps.version.outputs.version }}"
git push origin "@org/${{secrets.PRODUCT_NAME}}@v${{ steps.version.outputs.version }}"
@ps-jay , Ah thanks for noticing. I'll update that. Any way I can let the action know that the tag has a prefix?
From version 2024.9.1
this is implemented:
- name: Checkout code
uses: actions/checkout@v4
- name: Get next version
uses: reecetech/version-increment@2024.9.1
id: version
with:
tag_prefix: "release/"
I am trying to create tags using this package. It works fine when only using the bare tag but when you prepend the tag with a label it doesn't work.
when configured like this it keeps on selecting
.0
as base version: