diff --git a/.woodpecker/push.yml b/.woodpecker/push.yml index 3800ac7..ba912a3 100644 --- a/.woodpecker/push.yml +++ b/.woodpecker/push.yml @@ -5,6 +5,7 @@ pipeline: - cat ezshare/version.go |grep Vers|cut -d "=" -f2 | tr -d " v\""|xargs echo "latest,"|tr -d " " > .tags - cat .tags when: + event: [tag] status: [success] branch: refs/tags/* tag: v* @@ -17,6 +18,8 @@ pipeline: password: from_secret: registrypass when: + event: [tag] + branch: refs/tags/* tag: v* depends_on: diff --git a/ezshare/version.go b/ezshare/version.go index 19aa50f..da85379 100644 --- a/ezshare/version.go +++ b/ezshare/version.go @@ -1,4 +1,4 @@ package ezshare // TODO: Maybe put this somewhere more sensible -const Version = "v0.1.4" +const Version = "v0.1.5"