Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
15e55ee126 | ||
|
|
52efde64c0 |
@@ -94,11 +94,11 @@ jobs:
|
|||||||
-H "Authorization: token ${GITEA_TOKEN}"
|
-H "Authorization: token ${GITEA_TOKEN}"
|
||||||
done
|
done
|
||||||
|
|
||||||
# Update the release body to reflect the current version
|
# Update the release body and ensure it stays marked as pre-release
|
||||||
curl -s -X PATCH "${API_URL}/repos/${REPO}/releases/${RELEASE_ID}" \
|
curl -s -X PATCH "${API_URL}/repos/${REPO}/releases/${RELEASE_ID}" \
|
||||||
-H "Authorization: token ${GITEA_TOKEN}" \
|
-H "Authorization: token ${GITEA_TOKEN}" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d "{\"body\": \"Rolling release — always points to the latest update manifest (currently v${VERSION}). Do not delete.\"}"
|
-d "{\"body\": \"Rolling release — always points to the latest update manifest (currently v${VERSION}). Do not delete.\", \"prerelease\": true}"
|
||||||
|
|
||||||
else
|
else
|
||||||
# Create the rolling release for the first time
|
# Create the rolling release for the first time
|
||||||
@@ -118,7 +118,7 @@ jobs:
|
|||||||
\"name\": \"Update Manifest (rolling)\",
|
\"name\": \"Update Manifest (rolling)\",
|
||||||
\"body\": \"Rolling release — always points to the latest update manifest (currently v${VERSION}). Do not delete.\",
|
\"body\": \"Rolling release — always points to the latest update manifest (currently v${VERSION}). Do not delete.\",
|
||||||
\"draft\": false,
|
\"draft\": false,
|
||||||
\"prerelease\": false
|
\"prerelease\": true
|
||||||
}")
|
}")
|
||||||
|
|
||||||
RELEASE_ID=$(echo "${RELEASE}" | jq -r '.id')
|
RELEASE_ID=$(echo "${RELEASE}" | jq -r '.id')
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
"name": "Zotero Org Export Annotations",
|
"name": "Zotero Org Export Annotations",
|
||||||
"version": "1.0.0",
|
"version": "1.0.1",
|
||||||
"description": "Export Zotero PDF/EPUB annotations to Org-mode files for Emacs, org-roam, and citar",
|
"description": "Export Zotero PDF/EPUB annotations to Org-mode files for Emacs, org-roam, and citar",
|
||||||
"author": "Ignacio",
|
"author": "Ignacio",
|
||||||
"homepage_url": "https://gitea.bueso.eu/ignacio.ballesteros/zotero-notes-export-org",
|
"homepage_url": "https://gitea.bueso.eu/ignacio.ballesteros/zotero-notes-export-org",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "zotero-org-export-annotations",
|
"name": "zotero-org-export-annotations",
|
||||||
"version": "1.0.0",
|
"version": "1.0.1",
|
||||||
"description": "Export Zotero PDF/EPUB annotations to Org-mode files for Emacs integration",
|
"description": "Export Zotero PDF/EPUB annotations to Org-mode files for Emacs integration",
|
||||||
"config": {
|
"config": {
|
||||||
"addonName": "Zotero Org Export Annotations",
|
"addonName": "Zotero Org Export Annotations",
|
||||||
|
|||||||
Reference in New Issue
Block a user