deploy to nur-channel unconditionally
This commit is contained in:
parent
3508b2048e
commit
81fda0e80a
1 changed files with 1 additions and 5 deletions
|
|
@ -44,9 +44,7 @@ git config --global commit.gpgsign true
|
|||
|
||||
git clone git@github.com:nix-community/nur-channel
|
||||
|
||||
old_channel_rev=$(git rev-parse HEAD)
|
||||
./bin/nur build-channel nur-channel
|
||||
new_channel_rev=$(git rev-parse HEAD)
|
||||
|
||||
if [[ -z "$(git diff --exit-code)" ]]; then
|
||||
echo "No changes to the output on this push; exiting."
|
||||
|
|
@ -57,6 +55,4 @@ else
|
|||
git push git@github.com:nix-community/NUR HEAD:master
|
||||
fi
|
||||
|
||||
if [[ $old_channel_rev != $new_channel_rev ]]; then
|
||||
(cd nur-channel && git push origin master)
|
||||
fi
|
||||
(cd nur-channel && git push origin master)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue