Closed yihuang closed 2 months ago
The changes involve modifications to the flake.nix
and scripts/release.sh
files. In flake.nix
, the cronos-matrix
attribute set now inherits the rev
variable from its parent scope. In scripts/release.sh
, the nix build
command has been updated to include the --no-update-lock-file
and --no-allow-dirty
options, affecting how builds interact with the lock file and the working directory.
Files | Change Summary |
---|---|
flake.nix, scripts/release.sh | flake.nix : Added inherit rev; to cronos-matrix . scripts/release.sh : Updated nix build command to include --no-update-lock-file and --no-allow-dirty options. |
๐ In the flake where variables flow,
rev
is inherited, watch it grow!
In the script, builds now take a stand,
Lock files untouched, all perfectly planned.
Hooray for changes, letโs hop with glee,
A smoother path for you and me! ๐
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 15.24%. Comparing base (
943495d
) to head (d277fce
). Report is 1 commits behind head on main.
seems still dirty when I try run version after make release-dry-run
seems still dirty when I try run version after
make release-dry-run
should work now.
Solution:
๐ฎ๐ป๐ฎ๐ป๐ฎ๐ป !!!! REFERENCE THE PROBLEM YOUR ARE SOLVING IN THE PR TITLE AND DESCRIBE YOUR SOLUTION HERE !!!! DO NOT FORGET !!!! ๐ฎ๐ป๐ฎ๐ป๐ฎ๐ป
PR Checklist:
make
)make test
)go fmt
)golangci-lint run
)go list -json -m all | nancy sleuth
)Thank you for your code, it's appreciated! :)
Summary by CodeRabbit
cronos-matrix
to inherit therev
variable, improving its capability to access necessary attributes.