mirror of
https://github.com/Mexit/AlpDock.git
synced 2025-04-30 09:49: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:
|
with:
|
||||||
fetch-depth: 0
|
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
|
- name: Download aports
|
||||||
run: git clone --depth=1 https://gitlab.alpinelinux.org/alpine/aports.git
|
run: git clone --depth=1 https://gitlab.alpinelinux.org/alpine/aports.git
|
||||||
|
|
||||||
|
@ -65,8 +71,6 @@ jobs:
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ github.token }}
|
GH_TOKEN: ${{ github.token }}
|
||||||
run: |
|
run: |
|
||||||
git config --global --add safe.directory .
|
|
||||||
git fetch --tags --force
|
|
||||||
if git cat-file -t ${{ github.ref_name }} | grep -q '^tag$'; then
|
if git cat-file -t ${{ github.ref_name }} | grep -q '^tag$'; then
|
||||||
git tag -n ${{ github.ref_name }} --format="### %(subject)" > changelog.txt
|
git tag -n ${{ github.ref_name }} --format="### %(subject)" > changelog.txt
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue