mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-08-30 23:30:20 +00:00
Compare commits
12 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
081f7124d7 | ||
![]() |
9f584f2c6a | ||
![]() |
a04fa47883 | ||
![]() |
1e627fed34 | ||
![]() |
661b39565f | ||
![]() |
aa392e78a6 | ||
![]() |
c37a6d4c8c | ||
![]() |
2d870984e2 | ||
![]() |
a860374d64 | ||
![]() |
4d99243c91 | ||
![]() |
803bfc8391 | ||
![]() |
67e722b032 |
@@ -17,12 +17,24 @@ variables:
|
||||
|
||||
jobs:
|
||||
|
||||
- job: 'VersionValidate'
|
||||
condition: startsWith(variables['Build.SourceBranch'], 'refs/tags')
|
||||
pool:
|
||||
vmImage: 'ubuntu-latest'
|
||||
steps:
|
||||
- script: |
|
||||
. buildroot-external/meta
|
||||
|
||||
if [ "${VERSION_MAJOR}.${VERSION_BUILD}" != "$(Build.SourceBranchName)" ]; then
|
||||
exit 1
|
||||
fi
|
||||
displayName: 'Check version of branch/tag'
|
||||
|
||||
|
||||
- job: 'Release'
|
||||
condition: startsWith(variables['Build.SourceBranch'], 'refs/tags')
|
||||
timeoutInMinutes: 240
|
||||
dependsOn:
|
||||
- 'ShellCheck'
|
||||
- 'VersionValidate'
|
||||
timeoutInMinutes: 240
|
||||
pool:
|
||||
name: 'Buildroot'
|
||||
strategy:
|
||||
|
Reference in New Issue
Block a user