all: update repository url
For the upcoming rename of security org to rosa. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -3,7 +3,7 @@ name: Release
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'v*'
|
||||
- '*'
|
||||
|
||||
jobs:
|
||||
release:
|
||||
@@ -15,8 +15,11 @@ jobs:
|
||||
|
||||
- name: Process static files
|
||||
run: >-
|
||||
nix build --print-out-paths --print-build-logs .#hakurei-static &&
|
||||
nix shell nixpkgs#gnutar nixpkgs#zstd --command tar -C result --zstd -cf hakurei.app-${{ github.ref_name }}.tar.zst .
|
||||
nix build \
|
||||
--print-out-paths \
|
||||
--print-build-logs \
|
||||
--out-link hakurei.app-${{ github.ref_name }}.tar.zst \
|
||||
.#dist
|
||||
|
||||
- name: Release
|
||||
uses: https://gitea.com/actions/release-action@main
|
||||
|
||||
@@ -27,7 +27,7 @@ jobs:
|
||||
run: >-
|
||||
export HAKUREI_REV="$(git rev-parse --short HEAD)" &&
|
||||
sed -i.old 's/version = /version = "0.0.0-'$HAKUREI_REV'"; # version = /' package.nix &&
|
||||
nix build --print-out-paths --print-build-logs .#hakurei-static &&
|
||||
nix build --print-out-paths --print-build-logs .#static &&
|
||||
mv package.nix.old package.nix &&
|
||||
echo "rev=$HAKUREI_REV" >> $GITHUB_OUTPUT
|
||||
|
||||
|
||||
Reference in New Issue
Block a user