Update depdencies, simplify gem management
This commit is contained in:
1 parent
95823b0e19
commit
0244bf13b3
8 files changed
+69
-162
No files matched your search
Executable
+8
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
# Usage: script/gem
|
||||
# Updates the gemspec and builds a new gem in the pkg directory.
|
||||
|
||||
mkdir -p pkg
|
||||
gem build *.gemspec
|
||||
mv *.gem pkg
|
||||
|
||||
Executable
+14
@@ -0,0 +1,14 @@
|
||||
age: script/release
|
||||
# Build the package, tag a commit, push it to origin, and then release the
|
||||
# package publicly.
|
||||
|
||||
set -e
|
||||
|
||||
version="$(script/package | grep Version: | awk '{print $2}')"
|
||||
[ -n "$version" ] || exit 1
|
||||
|
||||
git commit --allow-empty -a -m "Release $version"
|
||||
git tag "$version"
|
||||
git push --tags origin
|
||||
gem push pkg/*-${version}.gem
|
||||
|
||||
Reference in new issue
Block a user