diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2017-05-22 16:31:29 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-05-22 16:31:29 +0000 |
commit | 7039b303d95e672b466926ed93c105e2dc7e2db2 (patch) | |
tree | af0aa4cf0d05b717aa63a0d6e29d6f14405f4c03 | |
parent | 929de6da3dde173ec4cc94ea943c8c7a08cc7186 (diff) | |
download | alpine_aports-7039b303d95e672b466926ed93c105e2dc7e2db2.tar.bz2 alpine_aports-7039b303d95e672b466926ed93c105e2dc7e2db2.tar.xz alpine_aports-7039b303d95e672b466926ed93c105e2dc7e2db2.zip |
main/aports-build: regression fix
create releases if there are new tags
-rw-r--r-- | main/aports-build/APKBUILD | 4 | ||||
-rw-r--r-- | main/aports-build/aports-build | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/main/aports-build/APKBUILD b/main/aports-build/APKBUILD index a919f9a810..e85e95ab8f 100644 --- a/main/aports-build/APKBUILD +++ b/main/aports-build/APKBUILD | |||
@@ -1,7 +1,7 @@ | |||
1 | # Maintainer: Natanael Copa <ncopa@alpinelinux.org> | 1 | # Maintainer: Natanael Copa <ncopa@alpinelinux.org> |
2 | pkgname=aports-build | 2 | pkgname=aports-build |
3 | pkgver=1.1 | 3 | pkgver=1.1 |
4 | pkgrel=5 | 4 | pkgrel=6 |
5 | pkgdesc="MQTT based build-on-git-push scripts for Alpine Linux" | 5 | pkgdesc="MQTT based build-on-git-push scripts for Alpine Linux" |
6 | url="http://alpinelinux.org" | 6 | url="http://alpinelinux.org" |
7 | arch="noarch" | 7 | arch="noarch" |
@@ -49,7 +49,7 @@ package() { | |||
49 | || return 1 | 49 | || return 1 |
50 | } | 50 | } |
51 | 51 | ||
52 | sha512sums="8a6b6ba8a289d007dea96e3c71ee119b5f72c13c4562b25c43eca91c86de2b542933976102ed1cd2f8b76fa9cfa77bbfba342ce3bfe8359f71d7c63945678c9c aports-build | 52 | sha512sums="d0b3547322e0073583c9bcf262c56204940303d7c9512cc7b4bd3182c84db9acbbecfafa28d9a323d013ac91c55ea9bfc095f1098d590e57ae219a55e285bebd aports-build |
53 | 821035bda47152c341ec94bf960fa67e3377051826712ceb74f39103e6e422777b6e082231bfb87865653d2b93b7d3154cfc24abf65a52e3e66da69412dd7e41 aports-build.initd | 53 | 821035bda47152c341ec94bf960fa67e3377051826712ceb74f39103e6e422777b6e082231bfb87865653d2b93b7d3154cfc24abf65a52e3e66da69412dd7e41 aports-build.initd |
54 | 62ed5cb6d1fef03fa707512c8c99c572a91e64706ebcc2e7097108811818615618bab908292d0ba0ad2afe93a27333d9c91deb347d6c99703eb8983d1ee5f480 mqtt-exec.aports-build.confd | 54 | 62ed5cb6d1fef03fa707512c8c99c572a91e64706ebcc2e7097108811818615618bab908292d0ba0ad2afe93a27333d9c91deb347d6c99703eb8983d1ee5f480 mqtt-exec.aports-build.confd |
55 | ded99f4c9474e4dc91605de71919deebbeb8e2e3ebcc9d61890f327bb6220d891a9f2a6c615929cc53bd8007b1a1dbd827bc55cd5cbdd1a6661fcdafa4912950 report-build-errors.lua" | 55 | ded99f4c9474e4dc91605de71919deebbeb8e2e3ebcc9d61890f327bb6220d891a9f2a6c615929cc53bd8007b1a1dbd827bc55cd5cbdd1a6661fcdafa4912950 report-build-errors.lua" |
diff --git a/main/aports-build/aports-build b/main/aports-build/aports-build index 9203753fcb..06618d12cb 100644 --- a/main/aports-build/aports-build +++ b/main/aports-build/aports-build | |||
@@ -131,6 +131,7 @@ while true; do | |||
131 | _current_tag=$(git describe --abbrev=0) | 131 | _current_tag=$(git describe --abbrev=0) |
132 | if [ "$_old_tag" != "$_current_tag" ]; then | 132 | if [ "$_old_tag" != "$_current_tag" ]; then |
133 | log "$_old_tag -> $_current_tag" | 133 | log "$_old_tag -> $_current_tag" |
134 | do_release=true | ||
134 | fi | 135 | fi |
135 | if [ "$_old" = "$_current" ] && [ -f /tmp/uploaded ] && [ -z "$force" ] && [ "$_current_tag" = "$_old_tag" ]; then | 136 | if [ "$_old" = "$_current" ] && [ -f /tmp/uploaded ] && [ -z "$force" ] && [ "$_current_tag" = "$_old_tag" ]; then |
136 | break | 137 | break |