Skip to content

Commit e7ceae7

Browse files
authored
Merge pull request #28 from xefensor/fix/alpha-release-channel
Publish Retold builds as alpha
2 parents 399c0f4 + cf564bf commit e7ceae7

4 files changed

Lines changed: 5 additions & 154 deletions

File tree

.github/workflows/backfill-release.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -64,17 +64,8 @@ jobs:
6464
exit 1
6565
fi
6666
67-
case "$VERSION" in
68-
*-alpha*|*-snapshot*)
69-
release_type="alpha"
70-
;;
71-
*-beta*|*-rc*)
72-
release_type="beta"
73-
;;
74-
*)
75-
release_type="release"
76-
;;
77-
esac
67+
# Retold is currently in alpha, independent of its numeric version.
68+
release_type="alpha"
7869
7970
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
8071
echo "tag=$tag" >> "$GITHUB_OUTPUT"

.github/workflows/release.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -59,17 +59,8 @@ jobs:
5959
exit 1
6060
fi
6161
62-
case "$version" in
63-
*-alpha*|*-snapshot*)
64-
release_type="alpha"
65-
;;
66-
*-beta*|*-rc*)
67-
release_type="beta"
68-
;;
69-
*)
70-
release_type="release"
71-
;;
72-
esac
62+
# Retold is currently in alpha, independent of its numeric version.
63+
release_type="alpha"
7364
7465
echo "version=$version" >> "$GITHUB_OUTPUT"
7566
echo "tag=$tag" >> "$GITHUB_OUTPUT"

.github/workflows/repair-curseforge-changelog.yml

Lines changed: 0 additions & 117 deletions
This file was deleted.

docs/RELEASING.md

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -93,24 +93,10 @@ When all checks pass, the workflow publishes:
9393
- an HTML-rendered copy of those notes on CurseForge to preserve headings, lists, and inline code
9494
- NeoForge, Minecraft 26.2, Java 25, and client-and-server metadata
9595

96-
Versions containing `-alpha` or `-snapshot` publish as alpha. Versions containing `-beta` or `-rc` publish as beta. Other versions publish as releases.
96+
Retold currently publishes every version as **alpha** on Modrinth and CurseForge, and as a prerelease on GitHub. This is intentional even when the version is a plain number such as `0.2.1`. When Retold is ready to move to beta or stable, update the explicit `release_type` assignment in both publishing workflows.
9797

9898
## Manual Recovery
9999

100100
The workflow can also be started from **Actions → Release → Run workflow**. Enter the version without the `v` prefix. The entered version must still match `mod_version`, and every normal validation and publishing step still runs.
101101

102102
Use manual publishing only when the release tag workflow did not start. If a run partially publishes, first inspect GitHub, Modrinth, and CurseForge. Either upload the missing platform manually, or delete every version and GitHub release created by the failed run before retrying. The existing Git tag can remain in place.
103-
104-
## Repair A CurseForge Changelog
105-
106-
Use **Actions → Repair CurseForge Changelog → Run workflow** when a CurseForge file already exists but its changelog was flattened or otherwise formatted incorrectly.
107-
108-
1. Open the affected file in the CurseForge author dashboard.
109-
2. Copy the numeric file ID from the file page URL.
110-
3. Open **Actions → Repair CurseForge Changelog → Run workflow** in GitHub.
111-
4. Enter the version without the `v` prefix and the numeric CurseForge file ID.
112-
5. Run the workflow.
113-
114-
The repair workflow reads the matching release section from the tagged `CHANGELOG.md`, renders it to HTML with GitHub's Markdown renderer, and updates only that existing CurseForge file. It does not upload another JAR or modify GitHub or Modrinth.
115-
116-
New normal and backfilled releases perform this HTML update automatically after the CurseForge upload.

0 commit comments

Comments
 (0)