2 Commits

Author SHA1 Message Date
eric
919b328e93 chore(release): v0.0.4 2026-03-04 07:32:16 +01:00
eric
7641622e8d chore: re-release to test 2026-03-04 07:32:09 +01:00
3 changed files with 22 additions and 2 deletions

View File

@@ -1,3 +1,3 @@
0.0.3 0.0.4
stable stable
0 0

View File

@@ -156,6 +156,26 @@
# Unified list processed in declaration order: # Unified list processed in declaration order:
# { file = "path/to/file"; content = ''...$FULL_VERSION...''; } # write file # { file = "path/to/file"; content = ''...$FULL_VERSION...''; } # write file
# { run = ''...shell snippet...''; } # run script # { run = ''...shell snippet...''; } # run script
# Example:
# release = [
# {
# file = "src/version.ts";
# content = ''export const APP_VERSION = "$FULL_VERSION" as const;'';
# }
# {
# file = "internal/version/version.go";
# content = ''
# package version
#
# const Version = "$FULL_VERSION"
# '';
# }
# {
# run = ''
# sed -E -i "s#^([[:space:]]*my-lib\\.url = \")github:org/my-lib[^"]*(\";)#\\1github:org/my-lib?ref=$FULL_TAG\\2#" "$ROOT_DIR/flake.nix"
# '';
# }
# ];
# Runtime env includes: BASE_VERSION, CHANNEL, PRERELEASE_NUM, FULL_VERSION, FULL_TAG. # Runtime env includes: BASE_VERSION, CHANNEL, PRERELEASE_NUM, FULL_VERSION, FULL_TAG.
channels ? [ channels ? [
"alpha" "alpha"

View File

@@ -97,7 +97,7 @@
formatter = forAllSystems (system: (devshell-lib.lib.mkDevShell { inherit system; }).formatter); formatter = forAllSystems (system: (devshell-lib.lib.mkDevShell { inherit system; }).formatter);
# Optional: release command (nix run .#release) # Optional: release command (`release`)
# #
# The release script always updates VERSION first, then: # The release script always updates VERSION first, then:
# 1) runs release steps in order (file writes and scripts) # 1) runs release steps in order (file writes and scripts)