f44af71468
Co-authored-by: Cursor <cursoragent@cursor.com>
2.1 KiB
2.1 KiB
Release steps for Dawnsorrow/HSCompare (Gitea + Dalamud)
Repo: http://brassnet.ddns.net:33983/Dawnsorrow/HSCompare
1. Push the code (one-time or after changes)
From this folder in a terminal:
cd "/home/jorg/Documents/My Dalamud Plugins/HSCompare"
git push -u origin main
If git push asks for credentials, use your Gitea login (username + password or token).
If the remote is already added and push failed before, just run git push.
2. Create the release on Gitea and add the zip
- Open http://brassnet.ddns.net:33983/Dawnsorrow/HSCompare
- Go to Releases → Create new release
- Tag:
v1.0.2(must match the version inpluginmaster.json) - Title: e.g.
v1.0.2 - Attach file:
Upload this file from your PC:
HSCompare/bin/Release/HSCompare/latest.zip
(Build first withdotnet build -c Releaseif needed.) - Save the release.
The zip download URL will be:
http://brassnet.ddns.net:33983/Dawnsorrow/HSCompare/releases/download/v1.0.2/latest.zip
This is already set in pluginmaster.json.
3. Add the plugin in Dalamud (you and your users)
- In-game, type
/xlsettings - Open the Experimental tab
- Under Custom Plugin Repositories, click Add
- Paste this URL and save:
http://brassnet.ddns.net:33983/Dawnsorrow/HSCompare/raw/main/pluginmaster.json
If your default branch is master instead of main, use:
http://brassnet.ddns.net:33983/Dawnsorrow/HSCompare/raw/master/pluginmaster.json
- Open the Plugin Installer, search for HSCompare, and install.
4. Later: new version (e.g. 1.0.3)
- Bump
<Version>inHSCompare/HSCompare.csproj - Update
CHANGELOG.md - Run
dotnet build -c Release - Commit, push:
git add . && git commit -m "Release v1.0.3" && git push - On Gitea: new release with tag
v1.0.3, attach the newlatest.zipfromHSCompare/bin/Release/HSCompare/ - In the repo, edit
pluginmaster.json: updateAssemblyVersion(e.g.1.0.3.0), both download URLs to usev1.0.3in the path, andLastUpdateto current Unix time (date +%s). Commit and push.