mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-17 11:30:32 +02:00
Show all minor versions
This commit is contained in:
10
.github/workflows/onpush_builder.yaml
vendored
10
.github/workflows/onpush_builder.yaml
vendored
@@ -102,13 +102,13 @@ jobs:
|
|||||||
# If the version does not exist
|
# If the version does not exist
|
||||||
if ! grep -q "$version" CHANGELOG.md; then
|
if ! grep -q "$version" CHANGELOG.md; then
|
||||||
# And if latest wasn't a minor version
|
# And if latest wasn't a minor version
|
||||||
if [ "$(sed -n '/^###/p;q' CHANGELOG.md)" ]; then
|
#if [ "$(sed -n '/^###/p;q' CHANGELOG.md)" ]; then
|
||||||
sed -i "1d" CHANGELOG.md
|
# sed -i "1d" CHANGELOG.md
|
||||||
sed -i "1i\### $version ($(date '+%d-%m-%Y'))" CHANGELOG.md
|
# sed -i "1i\### $version ($(date '+%d-%m-%Y'))" CHANGELOG.md
|
||||||
else
|
#else
|
||||||
sed -i "1i\- Bug updates" CHANGELOG.md
|
sed -i "1i\- Bug updates" CHANGELOG.md
|
||||||
sed -i "1i\### $version ($(date '+%d-%m-%Y'))" CHANGELOG.md
|
sed -i "1i\### $version ($(date '+%d-%m-%Y'))" CHANGELOG.md
|
||||||
fi
|
#fi
|
||||||
fi
|
fi
|
||||||
env:
|
env:
|
||||||
path: "./${{ matrix.addon }}"
|
path: "./${{ matrix.addon }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user