mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 15:36:21 -04:00
revert broken git-release
This commit is contained in:
parent
50169613f7
commit
1f7edd9d24
13
History.md
13
History.md
|
|
@ -1,12 +1,13 @@
|
|||
|
||||
0.0.8 / 2011-02-22
|
||||
0.5.0 / 2011-05-19
|
||||
==================
|
||||
|
||||
* Added `git-create-branch`.
|
||||
* Refactoring to adopt uniq code style across the scripts.
|
||||
* git-release: Use annotated tags to release commits instead of lightweight tags.
|
||||
* git-setup: Create a directory if the provided one doesn't exist yet.
|
||||
* Fixed `git-ignore`: Don't fail if `.gitignore` file doesn't exist yet.
|
||||
* Added `git-alias` [jweslley]
|
||||
* Added `git-create-branch` [jweslley]
|
||||
* Fixed one-liner due to `git extras update` change
|
||||
* Fixed; `git-setup` creates a directory if the provided one does not exist [jweslley]
|
||||
* Fixed; `git-setup` support for directories with spaces [jweslley]
|
||||
* Fixed; `git-ignore` with no args no longer fails if `.gitignore` does not exist [jweslley]
|
||||
|
||||
0.4.1 / 2011-04-05
|
||||
==================
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ Clone / Tarball:
|
|||
|
||||
One-liner:
|
||||
|
||||
$ curl https://github.com/visionmedia/git-extras/raw/master/bin/git-update-extras | sh
|
||||
$ curl https://github.com/visionmedia/git-extras/raw/master/bin/git-extras | INSTALL=y sh
|
||||
|
||||
Brew (buggy):
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
VERSION="0.4.1"
|
||||
VERSION="0.5.0"
|
||||
|
||||
update() {
|
||||
local orig=$PWD
|
||||
|
|
|
|||
|
|
@ -1,10 +1,12 @@
|
|||
#!/bin/sh
|
||||
#!/usr/bin/env sh
|
||||
|
||||
tag="$1"
|
||||
|
||||
test -z "$tag" && echo "tag required" && exit 1
|
||||
|
||||
echo "... releasing $tag"
|
||||
git tag -a "$tag" -m "Release $tag" \
|
||||
&& git push --tags \
|
||||
&& echo "... complete"
|
||||
if test $# -gt 0; then
|
||||
echo "... releasing $1"
|
||||
git commit -a -m "Release $1" \
|
||||
&& git tag $1 \
|
||||
&& git push \
|
||||
&& git push --tags \
|
||||
&& echo "... complete"
|
||||
else
|
||||
echo "tag required" && exit 1
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue