mirror of
https://github.com/kavishdevar/librepods.git
synced 2026-04-29 17:44:36 +00:00
ci: use latest release tag for changelog
This commit is contained in:
10
.github/workflows/ci-android.yml
vendored
10
.github/workflows/ci-android.yml
vendored
@@ -107,12 +107,16 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: root-module-debug
|
name: root-module-debug
|
||||||
path: artifacts/root-module-debug
|
path: artifacts/root-module-debug
|
||||||
|
|
||||||
- id: prev
|
- id: prev
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo "")
|
TAG=$(gh release list \
|
||||||
echo "tag=$TAG" >> $GITHUB_OUTPUT
|
--limit 1 \
|
||||||
|
--json tagName \
|
||||||
|
--jq '.[0].tagName')
|
||||||
|
|
||||||
|
echo "tag=$TAG" >> $GITHUB_OUTPUT
|
||||||
- id: changelog
|
- id: changelog
|
||||||
run: |
|
run: |
|
||||||
if [ -z "${{ steps.prev.outputs.tag }}" ]; then
|
if [ -z "${{ steps.prev.outputs.tag }}" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user