Skip to content

Commit

Permalink
1.22.6 update
Browse files Browse the repository at this point in the history
  • Loading branch information
k0gen committed Dec 13, 2024
1 parent 91fada3 commit a2fab34
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM gitea/gitea:1.22.0
FROM gitea/gitea:1.22.6

RUN apk add --no-cache tini curl yq; \
rm -f /var/cache/apk/*
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ clean:
rm -f scripts/*.js

scripts/embassy.js: $(TS_FILES)
deno bundle scripts/embassy.ts scripts/embassy.js
deno run --allow-read --allow-write --allow-env --allow-net scripts/bundle.ts

docker-images/x86_64.tar: Dockerfile docker_entrypoint.sh
ifeq ($(ARCH),aarch64)
Expand Down
6 changes: 3 additions & 3 deletions manifest.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
id: gitea
title: "Gitea"
version: 1.22.0
version: 1.22.6
release-notes: |
* Upstream code update
* Fix deprecated config options
* Full list of upstream changes available [here](https://github.com/go-gitea/gitea/compare/v1.21.8...v1.22.0)
* Update bundling process to use Deno emit module
* Full list of upstream changes available [here](https://github.com/go-gitea/gitea/compare/v1.22.0...v1.22.6)
license: MIT
wrapper-repo: "https://github.com/Start9Labs/gitea-startos"
upstream-repo: "https://github.com/go-gitea/gitea"
Expand Down
6 changes: 6 additions & 0 deletions scripts/bundle.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// scripts/bundle.ts
import { bundle } from "https://deno.land/x/[email protected]/mod.ts";

const result = await bundle("scripts/embassy.ts");

await Deno.writeTextFile("scripts/embassy.js", result.code);
2 changes: 1 addition & 1 deletion scripts/procedures/migrations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ export const migration: T.ExpectedExports.migration = compat.migrations
throw new Error("Downgrade not supported");
},
},
}, "1.22.0");
}, "1.22.6");

0 comments on commit a2fab34

Please sign in to comment.