diff --git a/.github/workflows/release_ci.yml b/.github/workflows/release_ci.yml index a0145f4..ce13fb7 100644 --- a/.github/workflows/release_ci.yml +++ b/.github/workflows/release_ci.yml @@ -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 @@ -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 }} diff --git a/script/archive.sh b/script/archive.sh index 815bdb9..4de0ced 100755 --- a/script/archive.sh +++ b/script/archive.sh @@ -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}