mirror of
https://github.com/Mexit/AlpDock.git
synced 2025-04-25 15:29:53 +03:00
fix: Fix git tags
This commit is contained in:
parent
24e56fd8fe
commit
cce54a0ee7
1 changed files with 6 additions and 2 deletions
8
.github/workflows/build_iso.yml
vendored
8
.github/workflows/build_iso.yml
vendored
|
@ -25,6 +25,12 @@ jobs:
|
|||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Fetch missing git tags
|
||||
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
|
||||
run: |
|
||||
git config --global --add safe.directory .
|
||||
git fetch --tags --force
|
||||
|
||||
- name: Download aports
|
||||
run: git clone --depth=1 https://gitlab.alpinelinux.org/alpine/aports.git
|
||||
|
||||
|
@ -65,8 +71,6 @@ jobs:
|
|||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
run: |
|
||||
git config --global --add safe.directory .
|
||||
git fetch --tags --force
|
||||
if git cat-file -t ${{ github.ref_name }} | grep -q '^tag$'; then
|
||||
git tag -n ${{ github.ref_name }} --format="### %(subject)" > changelog.txt
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue