Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
ruby-build
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ruby-build
Commits
5297dbc4
Commit
5297dbc4
authored
Feb 28, 2016
by
Mislav Marohnić
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
script/release: automatically populate GitHub release with changelog
[ci skip]
parent
bd51b3aa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
script/release
+5
-4
No files found.
script/release
View file @
5297dbc4
...
@@ -8,7 +8,6 @@
...
@@ -8,7 +8,6 @@
# - opens pull request to update the Homebrew formula
# - opens pull request to update the Homebrew formula
#
#
# TODO: handle making multiple releases on the same date
# TODO: handle making multiple releases on the same date
# TODO: publish release notes to GitHub
set
-e
set
-e
...
@@ -32,8 +31,6 @@ if git diff --quiet "${previous_tag}..HEAD" -- bin share; then
...
@@ -32,8 +31,6 @@ if git diff --quiet "${previous_tag}..HEAD" -- bin share; then
exit
1
exit
1
fi
fi
# current="$($binfile --version | awk '{print $2}')"
sed
-i
.bak
-E
"s!^(RUBY_BUILD_VERSION=).+!
\\
1
\"
${
new_version
}
\"
!"
"
$binfile
"
sed
-i
.bak
-E
"s!^(RUBY_BUILD_VERSION=).+!
\\
1
\"
${
new_version
}
\"
!"
"
$binfile
"
rm
-f
"
${
binfile
}
.bak"
rm
-f
"
${
binfile
}
.bak"
...
@@ -41,6 +38,10 @@ git commit -m "ruby-build ${new_version}" "$binfile"
...
@@ -41,6 +38,10 @@ git commit -m "ruby-build ${new_version}" "$binfile"
git tag
"
$version_tag
"
git tag
"
$version_tag
"
git push origin master
"
${
version_tag
}
"
git push origin master
"
${
version_tag
}
"
# git log --no-merges --format='%w(0,0,2)* %B' --reverse "${previous_tag}..HEAD^" -- bin share
{
echo
"ruby-build
${
new_version
}
"
echo
git log
--no-merges
--format
=
'%w(0,0,2)* %B'
--reverse
"
${
previous_tag
}
..HEAD^"
--
bin share
}
| hub release create
-dF
-
-c
"
$(
git rev-parse HEAD
)
"
"
$version_tag
"
||
true
hub browse
--
"releases/
${
version_tag
}
"
script/brew-publish ruby-build
"
$version_tag
"
script/brew-publish ruby-build
"
$version_tag
"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment