tools: update release scripts to use configure.ac
authorSpencer Oliver <spen@spen-soft.co.uk>
Tue, 20 Mar 2012 21:19:16 +0000 (21:19 +0000)
committerSpencer Oliver <spen@spen-soft.co.uk>
Fri, 30 Mar 2012 15:55:01 +0000 (15:55 +0000)
we have already updated autoconf to use configure.ac instead of
configure.in, so update release.sh to use the new name.

Change-Id: I2dc2beaf2f85058c4627183bc093052677ccba1b
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/537
Tested-by: jenkins
tools/release.sh
tools/release/helpers.sh
tools/release/version.sh

index 12dfdb6ab093ac6874832ac14323d9ec8992d83b..abd721a176aa562d4e5bd3639fdd5dd54423bdcb 100755 (executable)
@@ -125,8 +125,8 @@ do_clean_all() {
 
 do_version_commit() {
        [ "$*" ] || die "usage: $0 commit <message>"
 
 do_version_commit() {
        [ "$*" ] || die "usage: $0 commit <message>"
-       git add configure.in || die "error: no version changes to commit"
-       git commit -q -m "$*" configure.in
+       git add configure.ac || die "error: no version changes to commit"
+       git commit -q -m "$*" configure.ac
 }
 
 do_version_finalize() {
 }
 
 do_version_finalize() {
@@ -281,7 +281,7 @@ do_reset() {
        maybe_bootstrap
        maybe_configure
        do_clean_all
        maybe_bootstrap
        maybe_configure
        do_clean_all
-       git checkout configure.in
+       git checkout configure.ac
 }
 
 LONGOPTS="fast,final,start-rc,next-tag:,next:,help"
 }
 
 LONGOPTS="fast,final,start-rc,next-tag:,next:,help"
index 2dd5bae15a9b47de46ca9d0f140c7729d8b4e8a6..47d5782aba589fe82faa7c5312fdefe71b294bbf 100644 (file)
@@ -6,15 +6,15 @@ die() {
 }
 
 package_info_load_name() {
 }
 
 package_info_load_name() {
-       grep AC_INIT configure.in | perl -ne 's/^.+\(\[([-\w]*)\],.+$/$1/ and print'
+       grep AC_INIT configure.ac | perl -ne 's/^.+\(\[([-\w]*)\],.+$/$1/ and print'
 }
 package_info_load_version() {
 }
 package_info_load_version() {
-       grep AC_INIT configure.in | perl -ne 's/^.+\[([-\w\.]*)\],$/$1/ and print'
+       grep AC_INIT configure.ac | perl -ne 's/^.+\[([-\w\.]*)\],$/$1/ and print'
 }
 
 package_info_load() {
 }
 
 package_info_load() {
-       [ -f "configure.in" ] || \
-               die "package_info_load: configure.in is missing"
+       [ -f "configure.ac" ] || \
+               die "package_info_load: configure.ac is missing"
 
        PACKAGE_NAME="$(package_info_load_name)"
        # todo: fix this
 
        PACKAGE_NAME="$(package_info_load_name)"
        # todo: fix this
index 8c6da273432c6b9b8d2f63311c0fe8e996ee4dab..d6c9434b3f2b0557b6264b083f08704f25b228d4 100755 (executable)
@@ -8,7 +8,7 @@
 # NOTE Use with care!  "RC" should only follow x.x.x, with
 # vendor tags after that.  Be traditional; avoid "rc0".
 
 # NOTE Use with care!  "RC" should only follow x.x.x, with
 # vendor tags after that.  Be traditional; avoid "rc0".
 
-# NOTE:  This *ONLY* updates the "configure.in" version tag.
+# NOTE:  This *ONLY* updates the "configure.ac" version tag.
 # It does not affect GIT tags.  Use this script immediately
 # before making a release, to remove the "-dev" tag and to
 # update the version label.  Then commit the change and tag
 # It does not affect GIT tags.  Use this script immediately
 # before making a release, to remove the "-dev" tag and to
 # update the version label.  Then commit the change and tag
@@ -34,7 +34,7 @@ do_version_sed() {
        local NEW_VERSION="$1"
        local MSG="$2"
 
        local NEW_VERSION="$1"
        local MSG="$2"
 
-       sed -i -e "/AC_INIT/ s|${OLD_VERSION}|${NEW_VERSION}|" configure.in
+       sed -i -e "/AC_INIT/ s|${OLD_VERSION}|${NEW_VERSION}|" configure.ac
        package_info_load
        echo "${MSG}: ${OLD_VERSION} -> ${NEW_VERSION}"
 }
        package_info_load
        echo "${MSG}: ${OLD_VERSION} -> ${NEW_VERSION}"
 }

Linking to existing account procedure

If you already have an account and want to add another login method you MUST first sign in with your existing account and then change URL to read https://review.openocd.org/login/?link to get to this page again but this time it'll work for linking. Thank you.

SSH host keys fingerprints

1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=..              |
|+o..   .         |
|*.o   . .        |
|+B . . .         |
|Bo. = o S        |
|Oo.+ + =         |
|oB=.* = . o      |
| =+=.+   + E     |
|. .=o   . o      |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)