try to avoid a loop when doing nightlys, fixup linux nightly
This commit is contained in:
1 parent
e695ff4360
commit
4627b2e798
2 files changed
+3
-3
No files matched your search
+2
-2
@@ -7,7 +7,7 @@ trigger:
|
||||
include: ['*']
|
||||
|
||||
schedules:
|
||||
- cron: '0 0 * * *'
|
||||
- cron: '10 * * * *'
|
||||
displayName: "scheduled build"
|
||||
branches:
|
||||
include: ['master']
|
||||
@@ -146,7 +146,7 @@ jobs:
|
||||
- bash: ci/deploy.sh
|
||||
displayName: Packaging
|
||||
- task: GithubRelease@0
|
||||
condition: and(succeeded(), ne(variables['Build.Reason'], 'Schedule'), startsWith(variables['Build.SourceBranch'], 'refs/tags/'))
|
||||
condition: and(succeeded(), ne(variables['Build.Reason'], 'Schedule'), startsWith(variables['Build.SourceBranch'], 'refs/tags/'), not(startsWith(variables['Build.SourceBranch'], 'refs/tags/nightly')))
|
||||
displayName: Release from tag
|
||||
inputs:
|
||||
gitHubConnection: wez
|
||||
|
||||
+1
-1
@@ -48,7 +48,7 @@ case $OSTYPE in
|
||||
mkdir -p pkg/debian/usr/bin pkg/debian/DEBIAN
|
||||
cat > pkg/debian/DEBIAN/control <<EOF
|
||||
Package: wezterm
|
||||
Version: ${TAG_NAME}
|
||||
Version: ${TAG_NAME#nightly-}
|
||||
Architecture: amd64
|
||||
Maintainer: Wez Furlong <wez@wezfurlong.org>
|
||||
Section: utils
|
||||
|
||||
Reference in new issue
Block a user