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