-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Before stashing changes, the documentation will be generated. After making a commit, the full CI flow will be triggered. After a release, either a pull request for brew formulae will be submitted or the instructions will be printed. Also, the `version` file is removed before running a CI task in order to prevent a failure of the version test. For unit tests, the file is not expected. But after the installation, the file will be in the project's directory.
- Loading branch information
Showing
8 changed files
with
39 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
.idea/ | ||
tmp/ | ||
site/ | ||
version |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
save-work-after |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
save-work-ahead |
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/usr/bin/env bash | ||
# add release notes | ||
open https://github.com/bees-hive/elegant-git/releases/new | ||
# update formulae | ||
TAG=$(git describe) | ||
COMMIT=$(git log --pretty=%H -1) | ||
|
||
if type brew >/dev/null 2>&1 ; then | ||
info-text "Updating Homebrew formulae..." | ||
brew bump-formula-pr --no-audit --tag=${TAG} --revision=${COMMIT} elegant-git | ||
else | ||
error-text "brew binary is not available." | ||
error-text "Please make a manual formulae update." | ||
cat <<MESSAGE | ||
Instructions: | ||
open https://github.com/bees-hive/homebrew-hive/blob/master/Formula/elegant-git.rb | ||
update | ||
git tag: ${TAG} | ||
git commit: ${COMMIT} | ||
MESSAGE | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/usr/bin/env bash | ||
./workflows ci |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/usr/bin/env bash | ||
./workflows generate-docs |
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