Skip to content

Commit

Permalink
ci: fix git tag missing
Browse files Browse the repository at this point in the history
  • Loading branch information
Bambooin committed Jun 18, 2021
1 parent f00fd83 commit a2d9981
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/release_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ jobs:
- name: Archive config
run: make archive

- name: Debug info
run: |
git log -4
git describe --tags --abbrev=0
git describe --abbrev=0
ls -la release/*
- name: Build changelog
uses: mikepenz/release-changelog-builder-action@v1
id: changelog
Expand All @@ -25,7 +32,7 @@ jobs:
- name: Create release
uses: ncipollo/release-action@v1
with:
artifact: "release/*.zip"
artifacts: "release/*.zip"
draft: true
body: |
${{ steps.changlog.outputs.changelog }}
Expand Down
2 changes: 1 addition & 1 deletion script/archive.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
releasePath=release

flavors=(fcitx fcitx5 ibus squirrel trime weasel)
version=$(git describe --abbrev=0)
version=$(git describe --tags --abbrev=0)

pushd ${releasePath}

Expand Down

0 comments on commit a2d9981

Please sign in to comment.