mirror of
https://github.com/planetmint/planetmint-go.git
synced 2025-03-30 15:08:28 +00:00
Support releasing from different branch (#249)
* ci: support releasing from different branch * fix: git tags are not fetched This preveted to detect if a `LIB_TAG` is already there. Signed-off-by: Julian Strobl <jmastr@mailbox.org>
This commit is contained in:
parent
926fc76659
commit
a1d6923ca3
8
.github/workflows/release.yaml
vendored
8
.github/workflows/release.yaml
vendored
@ -25,6 +25,14 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
ref: ${{ github.ref_name }}
|
||||
|
||||
- name: Fetch tags
|
||||
run: |
|
||||
# Cannot use `fetch-tags: true` due to:
|
||||
# https://github.com/actions/checkout/issues/1471
|
||||
git fetch --prune --unshallow --tags
|
||||
|
||||
- name: Tag
|
||||
run: |
|
||||
|
Loading…
x
Reference in New Issue
Block a user