mirror of
https://github.com/FlareSolverr/FlareSolverr.git
synced 2025-06-09 21:07:14 +00:00
CI/CD: Generate release changelog from commits. resolves #34
This commit is contained in:
parent
69c4d9edfa
commit
6400449344
@ -1,4 +1,4 @@
|
|||||||
name: publish
|
name: release-docker
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -29,7 +29,7 @@ jobs:
|
|||||||
- name: Build changelog
|
- name: Build changelog
|
||||||
id: github_changelog
|
id: github_changelog
|
||||||
run: |
|
run: |
|
||||||
changelog=$(git log $(git describe --tags --abbrev=0)..HEAD --no-merges --oneline)
|
changelog=$(git log $(git tag | tail -2 | head -1)..HEAD --no-merges --oneline)
|
||||||
changelog="${changelog//'%'/'%25'}"
|
changelog="${changelog//'%'/'%25'}"
|
||||||
changelog="${changelog//$'\n'/'%0A'}"
|
changelog="${changelog//$'\n'/'%0A'}"
|
||||||
changelog="${changelog//$'\r'/'%0D'}"
|
changelog="${changelog//$'\r'/'%0D'}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user