2 Commits
v0.1.3 ... v1.0

Author SHA1 Message Date
9b3be51436 version bump to v1
All checks were successful
Release / build (push) Successful in 7s
2026-03-18 03:01:55 +01:00
582496b048 Revert "ci: replace action-gh-release with direct Gitea API calls"
This reverts commit 982eeecabc.
2026-03-18 03:00:05 +01:00
2 changed files with 5 additions and 19 deletions

View File

@@ -27,22 +27,8 @@ jobs:
server.ts
- name: Publish release
uses: softprops/action-gh-release@v2
with:
files: elden-counter.exe
env:
GITEA_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITEA_URL: ${{ github.server_url }}
REPO: ${{ github.repository }}
TAG: ${{ github.ref_name }}
run: |
# Create the release
RELEASE=$(curl -s -X POST "$GITEA_URL/api/v1/repos/$REPO/releases" \
-H "Authorization: token $GITEA_TOKEN" \
-H "Content-Type: application/json" \
-d "{\"tag_name\":\"$TAG\",\"name\":\"$TAG\",\"draft\":false,\"prerelease\":false}")
RELEASE_ID=$(echo "$RELEASE" | grep -o '"id":[0-9]*' | head -1 | cut -d: -f2)
# Upload the exe as a release asset
curl -s -X POST "$GITEA_URL/api/v1/repos/$REPO/releases/$RELEASE_ID/assets" \
-H "Authorization: token $GITEA_TOKEN" \
-H "Content-Type: application/octet-stream" \
--data-binary @elden-counter.exe \
-G --data-urlencode "name=elden-counter.exe"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -8,7 +8,7 @@ Written for Schmendrizzle's Twitch Stream.
| URL | Description |
|---|---|
| `http://localhost:8080` | Desktop page with YOU DIED overlay and keyboard controls |
| `http://<ip>:8080/mobile` | Touch-optimized control page for phone |
| `http://<local-ip>:8080/mobile` | Touch-optimized control page for phone |
| `http://localhost:8080/obs` | Transparent browser source for OBS |
## Run (dev)