summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Karl Ramm <kcr@1ts.org>2013-07-07 22:24:20 -0400
committerGravatar Karl Ramm <kcr@1ts.org>2013-07-07 22:24:44 -0400
commit1f975abc1204b5a5e871ce22cffc2a8cb2779889 (patch)
tree2a1737906055d514cf1528d63636fc3cc2a688d7
parentb68749f2a5059b132f6ced53efdcfe2ad5820618 (diff)
fix bugs in release script
-rwxr-xr-xrelease4
1 files changed, 2 insertions, 2 deletions
diff --git a/release b/release
index 62b5d88..c3ed2c6 100755
--- a/release
+++ b/release
@@ -29,8 +29,8 @@ rm -rf autom4te.cache
git add -A
#git commit -m "release $VERSION"
TREE=$(git write-tree)
-COMMIT=$(echo release artifact for $VERSION | git commit-tree $TREE -p HEAD -p release/artifact)
+COMMIT=$(echo release artifact for $VERSION | git commit-tree $TREE -p HEAD -p remotes/origin/release/artifact)
git tag release/$VERSION -m "release $VERSION processed for git archive" $COMMIT
-git push . $COMMIT:release/artifact
+git push origin $COMMIT:release/artifact
git reset --hard master
git checkout master