Compare commits

...
4 Commits
Author SHA1 Message Date
semantic-release 5166698457 chore(release): v1.2.0
Update Version / Update Version (push) Successful in 5s
2026-07-22 08:41:55 +00:00
root 3ebbaf6dd0 Merge dev into main
Update Version / Update Version (push) Successful in 7s
2026-07-22 11:40:39 +03:00
semantic-release 9900ffbf42 chore(release): v1.2.0-beta.4
Update Version / Update Version (push) Successful in 5s
2026-07-22 07:26:36 +00:00
sirmrak 5e5242888a fix: correct prerelease detection in GitHub workflow
Update Version / Update Version (push) Successful in 6s
2026-07-22 10:26:28 +03:00
2 changed files with 27 additions and 6 deletions
+18 -6
View File
@@ -113,7 +113,7 @@ jobs:
echo "commits<<EOF" >> $GITHUB_OUTPUT
echo "$COMMITS" >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
- name: Create GitHub Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -123,11 +123,15 @@ jobs:
IS_BETA="${{ steps.tag.outputs.is_beta }}"
echo "🚀 Создаём релиз $TAG в GitHub..."
echo "Тип релиза: IS_BETA=$IS_BETA"
# Определяем заголовок
if [ "$IS_BETA" = "true" ]; then
TITLE="Beta Release $TAG"
PRERELEASE_FLAG="--prerelease"
else
TITLE="Release $TAG"
PRERELEASE_FLAG=""
fi
cat > /tmp/release_notes.md << EOF
@@ -136,10 +140,18 @@ jobs:
$COMMITS
EOF
gh release create "$TAG" \
--title "$TITLE" \
--notes-file /tmp/release_notes.md \
--target main \
${IS_BETA:+--prerelease}
# Создаём релиз
if [ -n "$PRERELEASE_FLAG" ]; then
gh release create "$TAG" \
--title "$TITLE" \
--notes-file /tmp/release_notes.md \
--target main \
--prerelease
else
gh release create "$TAG" \
--title "$TITLE" \
--notes-file /tmp/release_notes.md \
--target main
fi
echo "✅ Релиз создан!"
+9
View File
@@ -5,6 +5,15 @@
## v1.2.0 (2026-07-22)
## v1.2.0-beta.4 (2026-07-22)
### Bug Fixes
- Correct prerelease detection in GitHub workflow
([`5e52428`](https://git.darkmode.duckdns.org/sirmrak/motion_light/commit/5e5242888af5d66e20e95156ac846d7f650a23e3))
>>>>>>> dev
## v1.2.0-beta.3 (2026-07-22)
### Bug Fixes