chore: bump version to 1.0.2 and add agent mandates
Some checks failed
Build and Release Sanctum / Build App (push) Has been cancelled
Some checks failed
Build and Release Sanctum / Build App (push) Has been cancelled
This commit is contained in:
parent
19a1b41e6d
commit
194199daed
3 changed files with 16 additions and 4 deletions
12
GEMINI.md
Normal file
12
GEMINI.md
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
# Agent Mandates
|
||||||
|
|
||||||
|
## Versioning and Release Workflow
|
||||||
|
Before every `git push` that includes code changes, you MUST perform the following steps:
|
||||||
|
|
||||||
|
1. **Bump Version:** Increment the version in `package.json` (both `version` and `aviaVersion`).
|
||||||
|
2. **Update Branding:** If a version string is hardcoded in UI plugins (like `avia_core/headliner.js`), update it to match the new version.
|
||||||
|
3. **Migration Logic:** Update any migration logic in plugins to ensure users on the previous version are automatically updated to the new default.
|
||||||
|
4. **Tagging:** Create or move the git tag corresponding to the new version (e.g., `git tag -f 1.0.x`).
|
||||||
|
5. **Push:** Push both the branch and the tags to the remote repository (`git push origin main --force --tags`).
|
||||||
|
|
||||||
|
This ensures the internal app state matches the release tag and prevents auto-updater loops.
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
const STYLE_ID = "headliner-style";
|
const STYLE_ID = "headliner-style";
|
||||||
|
|
||||||
const defaults = {
|
const defaults = {
|
||||||
content: "Sanctum V 1.0.1",
|
content: "Sanctum V 1.0.2",
|
||||||
left: "32",
|
left: "32",
|
||||||
top: "56",
|
top: "56",
|
||||||
fontSize: "15",
|
fontSize: "15",
|
||||||
|
|
@ -19,7 +19,7 @@
|
||||||
function loadSettings() {
|
function loadSettings() {
|
||||||
try {
|
try {
|
||||||
let s = JSON.parse(localStorage.getItem("headlinerSettings"));
|
let s = JSON.parse(localStorage.getItem("headlinerSettings"));
|
||||||
if (s && (s.content === "Stoat V 1.0.0 - Sanctum" || s.content === "Sanctum V 1.0.0")) {
|
if (s && (s.content === "Stoat V 1.0.0 - Sanctum" || s.content === "Sanctum V 1.0.0" || s.content === "Sanctum V 1.0.1")) {
|
||||||
s.content = defaults.content;
|
s.content = defaults.content;
|
||||||
saveSettings(s);
|
saveSettings(s);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
{
|
{
|
||||||
"name": "sanctum",
|
"name": "sanctum",
|
||||||
"productName": "Sanctum",
|
"productName": "Sanctum",
|
||||||
"version": "1.0.1",
|
"version": "1.0.2",
|
||||||
"aviaVersion": "1.0.1",
|
"aviaVersion": "1.0.2",
|
||||||
"main": ".vite/build/main.js",
|
"main": ".vite/build/main.js",
|
||||||
"repository": "https://git.mithraic.cloud/ad3laid3/sanctum",
|
"repository": "https://git.mithraic.cloud/ad3laid3/sanctum",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue