-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #289 from Mic92/joerg-ci
modernize formatter
- Loading branch information
Showing
22 changed files
with
194 additions
and
171 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null && pwd)" | |
cd "$SCRIPT_DIR/.." | ||
|
||
version=${1:-} | ||
if [[ -z "$version" ]]; then | ||
if [[ -z $version ]]; then | ||
echo "USAGE: $0 version" >&2 | ||
exit 1 | ||
fi | ||
|
@@ -18,13 +18,13 @@ fi | |
|
||
# ensure we are up-to-date | ||
uncommitted_changes=$(git diff --compact-summary) | ||
if [[ -n "$uncommitted_changes" ]]; then | ||
if [[ -n $uncommitted_changes ]]; then | ||
echo -e "There are uncommitted changes, exiting:\n${uncommitted_changes}" >&2 | ||
exit 1 | ||
fi | ||
git pull [email protected]:Mic92/nix-update master | ||
unpushed_commits=$(git log --format=oneline origin/master..master) | ||
if [[ "$unpushed_commits" != "" ]]; then | ||
if [[ $unpushed_commits != "" ]]; then | ||
echo -e "\nThere are unpushed changes, exiting:\n$unpushed_commits" >&2 | ||
exit 1 | ||
fi | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 4 additions & 3 deletions
7
tests/testpkgs/cargo-lock-generate/with-lockfile-metadata-path-outside-workspace/default.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 4 additions & 3 deletions
7
tests/testpkgs/cargo-lock-generate/with-lockfile-metadata-path/default.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.