Compare commits
3 Commits
55ffaad94f
...
renovate/k
| Author | SHA1 | Date | |
|---|---|---|---|
| d7d61dc8b0 | |||
| b90f07a816 | |||
| 53d42341c0 |
@@ -392,11 +392,20 @@ jobs:
|
|||||||
sed -i -e '/./,$!d' release-notes.md
|
sed -i -e '/./,$!d' release-notes.md
|
||||||
fi
|
fi
|
||||||
[ -s release-notes.md ] || echo "_See CHANGELOG.md for ${VERSION}._" > release-notes.md
|
[ -s release-notes.md ] || echo "_See CHANGELOG.md for ${VERSION}._" > release-notes.md
|
||||||
python3 - "$TAG" "$SHA" <<'PY' > cb-payload.json
|
# The pipeline creates the tag via the Gitea API, which the push mirror
|
||||||
|
# (sync_on_commit only fires on real git pushes) doesn't propagate
|
||||||
|
# promptly — so a release POST that carries a target_commitish can
|
||||||
|
# outrun the mirror and 500 on a commit/tag Codeberg hasn't received.
|
||||||
|
# Push the tag straight to Codeberg so it's guaranteed present, then
|
||||||
|
# attach the release to that existing tag with NO target_commitish
|
||||||
|
# (which is what triggered the 500).
|
||||||
|
git tag -f "$TAG" "$SHA"
|
||||||
|
git push -f "https://jlmakiola:${TOKEN}@codeberg.org/jlmakiola/calendula.git" \
|
||||||
|
"refs/tags/$TAG"
|
||||||
|
python3 - "$TAG" <<'PY' > cb-payload.json
|
||||||
import json, sys
|
import json, sys
|
||||||
print(json.dumps({
|
print(json.dumps({
|
||||||
"tag_name": sys.argv[1],
|
"tag_name": sys.argv[1],
|
||||||
"target_commitish": sys.argv[2],
|
|
||||||
"name": sys.argv[1],
|
"name": sys.argv[1],
|
||||||
"body": open("release-notes.md").read(),
|
"body": open("release-notes.md").read(),
|
||||||
"draft": False,
|
"draft": False,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[versions]
|
[versions]
|
||||||
agp = "9.2.1"
|
agp = "9.2.1"
|
||||||
kotlin = "2.3.21"
|
kotlin = "2.4.10"
|
||||||
ksp = "2.3.9"
|
ksp = "2.3.9"
|
||||||
hilt = "2.59.2"
|
hilt = "2.59.2"
|
||||||
coreKtx = "1.19.0"
|
coreKtx = "1.19.0"
|
||||||
|
|||||||
Reference in New Issue
Block a user