mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-14 12:46:32 +00:00
update branch
This commit is contained in:
parent
01064564b4
commit
6f26536d97
3
.github/workflows/ci.yaml
vendored
3
.github/workflows/ci.yaml
vendored
@ -4,8 +4,7 @@ name: CI
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- dev
|
- main
|
||||||
- master
|
|
||||||
pull_request: ~
|
pull_request: ~
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
2
.github/workflows/release-drafter.yml
vendored
2
.github/workflows/release-drafter.yml
vendored
@ -4,7 +4,7 @@ on:
|
|||||||
push:
|
push:
|
||||||
# branches to consider in the event; optional, defaults to all
|
# branches to consider in the event; optional, defaults to all
|
||||||
branches:
|
branches:
|
||||||
- dev
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
update_release_draft:
|
update_release_draft:
|
||||||
|
@ -4,18 +4,18 @@ trigger:
|
|||||||
batch: true
|
batch: true
|
||||||
branches:
|
branches:
|
||||||
include:
|
include:
|
||||||
- dev
|
- main
|
||||||
tags:
|
tags:
|
||||||
include:
|
include:
|
||||||
- "*"
|
- "*"
|
||||||
paths:
|
paths:
|
||||||
include:
|
include:
|
||||||
- supervisor/*
|
- supervisor/*
|
||||||
- rootfs/*
|
- rootfs/*
|
||||||
- requirements.txt
|
- requirements.txt
|
||||||
- setup.py
|
- setup.py
|
||||||
- Dockerfile
|
- Dockerfile
|
||||||
- build.json
|
- build.json
|
||||||
pr: none
|
pr: none
|
||||||
variables:
|
variables:
|
||||||
- name: versionBuilder
|
- name: versionBuilder
|
||||||
|
@ -4,24 +4,23 @@ trigger:
|
|||||||
batch: true
|
batch: true
|
||||||
branches:
|
branches:
|
||||||
include:
|
include:
|
||||||
- dev
|
- main
|
||||||
pr: none
|
pr: none
|
||||||
variables:
|
variables:
|
||||||
- name: versionWheels
|
- name: versionWheels
|
||||||
value: '1.13.0-3.8-alpine3.12'
|
value: "1.13.0-3.8-alpine3.12"
|
||||||
resources:
|
resources:
|
||||||
repositories:
|
repositories:
|
||||||
- repository: azure
|
- repository: azure
|
||||||
type: github
|
type: github
|
||||||
name: 'home-assistant/ci-azure'
|
name: "home-assistant/ci-azure"
|
||||||
endpoint: 'home-assistant'
|
endpoint: "home-assistant"
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- template: templates/azp-job-wheels.yaml@azure
|
- template: templates/azp-job-wheels.yaml@azure
|
||||||
parameters:
|
parameters:
|
||||||
builderVersion: '$(versionWheels)'
|
builderVersion: "$(versionWheels)"
|
||||||
builderApk: 'build-base;libffi-dev;openssl-dev'
|
builderApk: "build-base;libffi-dev;openssl-dev"
|
||||||
builderPip: 'Cython'
|
builderPip: "Cython"
|
||||||
skipBinary: 'aiohttp'
|
skipBinary: "aiohttp"
|
||||||
wheelsRequirement: 'requirements.txt'
|
wheelsRequirement: "requirements.txt"
|
||||||
|
@ -1,10 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
set -eE
|
|
||||||
|
|
||||||
commit_count="$(git rev-list --count --since=yesterday HEAD)"
|
|
||||||
calver_date="$(date "+%Y.%m.dev%d")"
|
|
||||||
|
|
||||||
calver_version="${calver_date}${commit_count}"
|
|
||||||
|
|
||||||
sed -i "s/SUPERVISOR_VERSION .*/SUPERVISOR_VERSION = \"${calver_version}\"/g" supervisor/const.py
|
|
||||||
echo "$calver_version"
|
|
Loading…
x
Reference in New Issue
Block a user