Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TBK
aports
Commits
7039b303
Commit
7039b303
authored
7 years ago
by
Natanael Copa
Browse files
Options
Downloads
Patches
Plain Diff
main/aports-build: regression fix
create releases if there are new tags
parent
929de6da
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
main/aports-build/APKBUILD
+2
-2
2 additions, 2 deletions
main/aports-build/APKBUILD
main/aports-build/aports-build
+1
-0
1 addition, 0 deletions
main/aports-build/aports-build
with
3 additions
and
2 deletions
main/aports-build/APKBUILD
+
2
−
2
View file @
7039b303
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname
=
aports-build
pkgname
=
aports-build
pkgver
=
1.1
pkgver
=
1.1
pkgrel
=
5
pkgrel
=
6
pkgdesc
=
"MQTT based build-on-git-push scripts for Alpine Linux"
pkgdesc
=
"MQTT based build-on-git-push scripts for Alpine Linux"
url
=
"http://alpinelinux.org"
url
=
"http://alpinelinux.org"
arch
=
"noarch"
arch
=
"noarch"
...
@@ -49,7 +49,7 @@ package() {
...
@@ -49,7 +49,7 @@ package() {
||
return
1
||
return
1
}
}
sha512sums
=
"
8a6b6ba8a289d007dea96e3c71ee119b5f72c13c4562b25c43eca91c86de2b542933976102ed1cd2f8b76fa9cfa77bbfba342ce3bfe8359f71d7c63945678c9c
aports-build
sha512sums
=
"
d0b3547322e0073583c9bcf262c56204940303d7c9512cc7b4bd3182c84db9acbbecfafa28d9a323d013ac91c55ea9bfc095f1098d590e57ae219a55e285bebd
aports-build
821035bda47152c341ec94bf960fa67e3377051826712ceb74f39103e6e422777b6e082231bfb87865653d2b93b7d3154cfc24abf65a52e3e66da69412dd7e41 aports-build.initd
821035bda47152c341ec94bf960fa67e3377051826712ceb74f39103e6e422777b6e082231bfb87865653d2b93b7d3154cfc24abf65a52e3e66da69412dd7e41 aports-build.initd
62ed5cb6d1fef03fa707512c8c99c572a91e64706ebcc2e7097108811818615618bab908292d0ba0ad2afe93a27333d9c91deb347d6c99703eb8983d1ee5f480 mqtt-exec.aports-build.confd
62ed5cb6d1fef03fa707512c8c99c572a91e64706ebcc2e7097108811818615618bab908292d0ba0ad2afe93a27333d9c91deb347d6c99703eb8983d1ee5f480 mqtt-exec.aports-build.confd
ded99f4c9474e4dc91605de71919deebbeb8e2e3ebcc9d61890f327bb6220d891a9f2a6c615929cc53bd8007b1a1dbd827bc55cd5cbdd1a6661fcdafa4912950 report-build-errors.lua"
ded99f4c9474e4dc91605de71919deebbeb8e2e3ebcc9d61890f327bb6220d891a9f2a6c615929cc53bd8007b1a1dbd827bc55cd5cbdd1a6661fcdafa4912950 report-build-errors.lua"
This diff is collapsed.
Click to expand it.
main/aports-build/aports-build
+
1
−
0
View file @
7039b303
...
@@ -131,6 +131,7 @@ while true; do
...
@@ -131,6 +131,7 @@ while true; do
_current_tag
=
$(
git describe
--abbrev
=
0
)
_current_tag
=
$(
git describe
--abbrev
=
0
)
if
[
"
$_old_tag
"
!=
"
$_current_tag
"
]
;
then
if
[
"
$_old_tag
"
!=
"
$_current_tag
"
]
;
then
log
"
$_old_tag
->
$_current_tag
"
log
"
$_old_tag
->
$_current_tag
"
do_release
=
true
fi
fi
if
[
"
$_old
"
=
"
$_current
"
]
&&
[
-f
/tmp/uploaded
]
&&
[
-z
"
$force
"
]
&&
[
"
$_current_tag
"
=
"
$_old_tag
"
]
;
then
if
[
"
$_old
"
=
"
$_current
"
]
&&
[
-f
/tmp/uploaded
]
&&
[
-z
"
$force
"
]
&&
[
"
$_current_tag
"
=
"
$_old_tag
"
]
;
then
break
break
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment