Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ee631c21c4 | |||
| 50d437aed7 | |||
| dd5ea36636 | |||
| 7d6aace6d9 |
@@ -76,12 +76,10 @@ jobs:
|
|||||||
echo "Created release with ID: $RELEASE_ID"
|
echo "Created release with ID: $RELEASE_ID"
|
||||||
|
|
||||||
# Upload assets using TypeScript (curl has 2GB multipart limit)
|
# Upload assets using TypeScript (curl has 2GB multipart limit)
|
||||||
pnpm install -g tsx
|
|
||||||
|
|
||||||
GITEA_TOKEN="${{ secrets.GITHUB_TOKEN }}" \
|
GITEA_TOKEN="${{ secrets.GITHUB_TOKEN }}" \
|
||||||
GITEA_REPO="${{ gitea.repository }}" \
|
GITEA_REPO="${{ gitea.repository }}" \
|
||||||
RELEASE_ID="$RELEASE_ID" \
|
RELEASE_ID="$RELEASE_ID" \
|
||||||
tsx .gitea/release-upload.ts
|
npx tsx .gitea/release-upload.ts
|
||||||
|
|
||||||
- name: Cleanup old releases (keep 3 latest)
|
- name: Cleanup old releases (keep 3 latest)
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
15
changelog.md
15
changelog.md
@@ -1,5 +1,20 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 2026-01-09 - 0.3.8 - fix(ci(release-workflow))
|
||||||
|
use npx tsx to run release-upload.ts in the Gitea release workflow instead of installing tsx globally
|
||||||
|
|
||||||
|
- Removed 'pnpm install -g tsx' to avoid global installs in CI
|
||||||
|
- Replaced direct 'tsx' invocation with 'npx tsx' to run .gitea/release-upload.ts
|
||||||
|
- Reduces CI image footprint and avoids unnecessary global package installation
|
||||||
|
|
||||||
|
## 2026-01-09 - 0.3.7 - fix(daemon)
|
||||||
|
Point updater at the correct repository API (code.foss.global ecobridge.xyz/eco_os) and bump project/daemon versions to 0.3.6
|
||||||
|
|
||||||
|
- Updated repo API URL in ecoos_daemon/ts/daemon/updater.ts from 'https://code.foss.global/api/v1/repos/ecobridge/eco-os/releases' to 'https://code.foss.global/api/v1/repos/ecobridge.xyz/eco_os/releases'
|
||||||
|
- Bumped daemon version in ecoos_daemon/ts/version.ts from 0.3.4 to 0.3.6
|
||||||
|
- Bumped package version in package.json from 0.3.5 to 0.3.6
|
||||||
|
- Included rebuilt daemon binary at isobuild/config/includes.chroot/opt/eco/bin/eco-daemon (bundle updated)
|
||||||
|
|
||||||
## 2026-01-09 - 0.3.5 - fix(ci)
|
## 2026-01-09 - 0.3.5 - fix(ci)
|
||||||
add Gitea release asset uploader and switch release workflow to use it; bump package and daemon versions to 0.3.4
|
add Gitea release asset uploader and switch release workflow to use it; bump package and daemon versions to 0.3.4
|
||||||
|
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ interface GiteaAsset {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export class Updater {
|
export class Updater {
|
||||||
private repoApiUrl = 'https://code.foss.global/api/v1/repos/ecobridge/eco-os/releases';
|
private repoApiUrl = 'https://code.foss.global/api/v1/repos/ecobridge.xyz/eco_os/releases';
|
||||||
private binaryPath = '/opt/eco/bin/eco-daemon';
|
private binaryPath = '/opt/eco/bin/eco-daemon';
|
||||||
private releases: Release[] = [];
|
private releases: Release[] = [];
|
||||||
private lastCheck: Date | null = null;
|
private lastCheck: Date | null = null;
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
export const VERSION = "0.3.4";
|
export const VERSION = "0.3.6";
|
||||||
|
|||||||
Binary file not shown.
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@ecobridge/eco-os",
|
"name": "@ecobridge/eco-os",
|
||||||
"version": "0.3.5",
|
"version": "0.3.8",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "[ -z \"$CI\" ] && npm version patch --no-git-tag-version || true && node -e \"const v=require('./package.json').version; require('fs').writeFileSync('ecoos_daemon/ts/version.ts', 'export const VERSION = \\\"'+v+'\\\";\\n');\" && pnpm run daemon:bundle && cp ecoos_daemon/bundle/eco-daemon isobuild/config/includes.chroot/opt/eco/bin/ && mkdir -p .nogit/iso && docker build --no-cache -t ecoos-builder -f isobuild/Dockerfile . && docker run --privileged --name ecoos-build ecoos-builder && docker cp ecoos-build:/output/ecoos.iso .nogit/iso/ecoos.iso && docker rm ecoos-build",
|
"build": "[ -z \"$CI\" ] && npm version patch --no-git-tag-version || true && node -e \"const v=require('./package.json').version; require('fs').writeFileSync('ecoos_daemon/ts/version.ts', 'export const VERSION = \\\"'+v+'\\\";\\n');\" && pnpm run daemon:bundle && cp ecoos_daemon/bundle/eco-daemon isobuild/config/includes.chroot/opt/eco/bin/ && mkdir -p .nogit/iso && docker build --no-cache -t ecoos-builder -f isobuild/Dockerfile . && docker run --privileged --name ecoos-build ecoos-builder && docker cp ecoos-build:/output/ecoos.iso .nogit/iso/ecoos.iso && docker rm ecoos-build",
|
||||||
|
|||||||
Reference in New Issue
Block a user