mirror of
https://github.com/superhelio/tools.git
synced 2026-01-30 13:46:14 +00:00
Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
000be4feaf | ||
|
|
bfec35ece4 | ||
|
|
c2ccbbf08f | ||
|
|
ec78cb8335 | ||
|
|
06677cea39 | ||
|
|
a0b8fa91c8 | ||
|
|
a50e43b811 |
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
/vendor/
|
||||||
@@ -1,3 +1,10 @@
|
|||||||
|
## 0.1.0 (2016-08-10)
|
||||||
|
- Remove paging from git log, works better for automation
|
||||||
|
- Change changelog formatting to simple message
|
||||||
|
- Add link to full changelog, detect project url from origin url
|
||||||
|
- Add composer.json, ignore vendor folder
|
||||||
|
|
||||||
|
|
||||||
## 0.0.10 (2016-08-04)
|
## 0.0.10 (2016-08-04)
|
||||||
- db2367d 2016-08-04 | Create the README.md (HEAD -> release-0.0.10, develop) [Ismo Vuorinen]
|
- db2367d 2016-08-04 | Create the README.md (HEAD -> release-0.0.10, develop) [Ismo Vuorinen]
|
||||||
- 0140b53 2016-08-04 | Implement [shellcheck](https://www.shellcheck.net/) recommendations [Ismo Vuorinen]
|
- 0140b53 2016-08-04 | Implement [shellcheck](https://www.shellcheck.net/) recommendations [Ismo Vuorinen]
|
||||||
|
|||||||
16
composer.json
Normal file
16
composer.json
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"name": "superhelio/tools",
|
||||||
|
"description": "Collection of our tools",
|
||||||
|
"type": "library",
|
||||||
|
"license": "MIT",
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Ismo Vuorinen",
|
||||||
|
"email": "ismo.vuorinen@superhelio.com"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"require": {},
|
||||||
|
"bin": [
|
||||||
|
"release.sh"
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -25,6 +25,10 @@ RESET="\033[0m"
|
|||||||
|
|
||||||
LATEST_HASH=$(git log --pretty=format:'%h' -n 1)
|
LATEST_HASH=$(git log --pretty=format:'%h' -n 1)
|
||||||
|
|
||||||
|
# Guess our remote url from remote.origin.url (minus .git from the end),
|
||||||
|
# change to your github project url. used to create Full changelog link
|
||||||
|
PROJECT_URL=$(git config --get remote.origin.url | sed 's/^\.git*//')
|
||||||
|
|
||||||
# current Git branch
|
# current Git branch
|
||||||
BRANCH_CURRENT=$(git symbolic-ref HEAD | sed -e 's,.*/\(.*\),\1,')
|
BRANCH_CURRENT=$(git symbolic-ref HEAD | sed -e 's,.*/\(.*\),\1,')
|
||||||
|
|
||||||
@@ -112,7 +116,9 @@ echo "$NEW_VERSION" > "$FILE_VERSION"
|
|||||||
|
|
||||||
# Create our changelog
|
# Create our changelog
|
||||||
echo "## $NEW_VERSION ($NOW)" > tmpfile
|
echo "## $NEW_VERSION ($NOW)" > tmpfile
|
||||||
git log --pretty=format:" - %h %ad | %s%d [%an]" --date=short --no-merges "$BASE_STRING"...HEAD >> tmpfile
|
git --no-pager log --pretty=format:" - %s" --date=short --no-merges "$BASE_STRING"...HEAD >> tmpfile
|
||||||
|
echo "" >> tmpfile
|
||||||
|
echo "[Full changelog]($PROJECT_URL/compare/$BASE_STRING...$NEW_VERSION)"
|
||||||
echo "" >> tmpfile
|
echo "" >> tmpfile
|
||||||
echo "" >> tmpfile
|
echo "" >> tmpfile
|
||||||
cat "$FILE_CHANGELOG" >> tmpfile
|
cat "$FILE_CHANGELOG" >> tmpfile
|
||||||
|
|||||||
Reference in New Issue
Block a user