mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-09-08 04:35:27 +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:
|
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'
|
- job: 'Release'
|
||||||
condition: startsWith(variables['Build.SourceBranch'], 'refs/tags')
|
|
||||||
timeoutInMinutes: 240
|
|
||||||
dependsOn:
|
dependsOn:
|
||||||
- 'ShellCheck'
|
- 'VersionValidate'
|
||||||
|
timeoutInMinutes: 240
|
||||||
pool:
|
pool:
|
||||||
name: 'Buildroot'
|
name: 'Buildroot'
|
||||||
strategy:
|
strategy:
|
||||||
|
Reference in New Issue
Block a user