parent
def33dadf7
commit
cd024c737f
@ -18,11 +18,10 @@ jobs:
|
|||||||
- name: Generate Changelog
|
- name: Generate Changelog
|
||||||
run: |
|
run: |
|
||||||
set -eux
|
set -eux
|
||||||
echo "gdgd"
|
current_tag=$(git describe --tags --abbrev=0)
|
||||||
git log v0.0.15..v0.0.16 --reverse --pretty=format:"%B"
|
previous_tag=$(git describe --tags --abbrev=0 ${current_tag}^)
|
||||||
git log $(git describe --tags --abbrev=0 $(git rev-list --tags --skip=1 --max-count=1))..$(git describe --tags --abbrev=0) --reverse --pretty=format:\"%B\" | xargs echo
|
echo "Commits from ${previous_tag} to ${current_tag}:"
|
||||||
git log $(git describe --tags --abbrev=0 $(git rev-list --tags --skip=1 --max-count=1))..$(git describe --tags --abbrev=0) --reverse --pretty=format:"%B" | nl -w2 -s". " | xargs echo
|
git log ${previous_tag}..${current_tag} --reverse --pretty=format:"%s" | nl -w2 -s". " | xargs echo
|
||||||
git log $(git describe --tags --abbrev=0 $(git rev-list --tags --skip=1 --max-count=1))..$(git describe --tags --abbrev=0) --reverse --pretty=format:"%B" | nl -w2 -s". " > ${{ github.workspace }}-CHANGELOG.txt
|
|
||||||
- name: Upload Gitea Release
|
- name: Upload Gitea Release
|
||||||
uses: akkuman/gitea-release-action@v1
|
uses: akkuman/gitea-release-action@v1
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user