Skip to content

Commit 6876218

Browse files
committed
Versioning: easily update versions and changelog
1 parent 4113fa7 commit 6876218

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ jobs:
1717
- name: Checkout
1818
uses: actions/checkout@v6
1919

20+
- name: Set version from tag
21+
run: |
22+
VERSION=${GITHUB_REF#refs/tags/switch-}
23+
sed -i "s/\"version\": \".*\"/\"version\": \"${VERSION}\"/" package.json
24+
2025
- name: Set up QEMU
2126
uses: docker/setup-qemu-action@v4
2227

client/public/versionCheck.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
{
2-
"owner": "spiicytuna",
2+
"owner": "joshndroid",
33
"repo": "flame",
44
"branches": {
5-
"stable": "master",
6-
"dev": "tuna-combo"
5+
"stable": "switch"
76
}
87
}

0 commit comments

Comments
 (0)