This commit is contained in:
@ -35,12 +35,9 @@ jobs:
|
||||
with:
|
||||
go-version: '1.24'
|
||||
|
||||
- name: Generate changelog
|
||||
run: |
|
||||
echo "Changes: " > changelog.txt
|
||||
echo "```" >> changelog.txt
|
||||
git log $(git describe --tags --abbrev=0)..HEAD --oneline >> changelog.txt
|
||||
echo "```" >> changelog.txt
|
||||
- name: Get Changes between Tags
|
||||
id: changes
|
||||
uses: simbo/changes-between-tags-action@v1
|
||||
|
||||
- name: Set version
|
||||
run: |
|
||||
@ -59,12 +56,12 @@ jobs:
|
||||
cp scripts/completion/bash ./out/completion/alr
|
||||
cp scripts/completion/zsh ./out/completion/_alr
|
||||
|
||||
tar -czvf alr-${{ env.VERSION }}-linux-x86_64.tar.gz -C out .
|
||||
( cd out && tar -czvf alr-${{ env.VERSION }}-linux-x86_64.tar.gz * )
|
||||
|
||||
- name: Release
|
||||
uses: akkuman/gitea-release-action@v1
|
||||
with:
|
||||
body_path: changelog.txt
|
||||
body: ${{ steps.changes.outputs.changes }}
|
||||
files: |-
|
||||
alr-${{ env.VERSION }}-linux-x86_64.tar.gz
|
||||
|
||||
|
Reference in New Issue
Block a user