mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-12 19:56:29 +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:
|
||||
push:
|
||||
branches:
|
||||
- dev
|
||||
- master
|
||||
- main
|
||||
pull_request: ~
|
||||
|
||||
env:
|
||||
|
2
.github/workflows/release-drafter.yml
vendored
2
.github/workflows/release-drafter.yml
vendored
@ -4,7 +4,7 @@ on:
|
||||
push:
|
||||
# branches to consider in the event; optional, defaults to all
|
||||
branches:
|
||||
- dev
|
||||
- main
|
||||
|
||||
jobs:
|
||||
update_release_draft:
|
||||
|
@ -4,18 +4,18 @@ trigger:
|
||||
batch: true
|
||||
branches:
|
||||
include:
|
||||
- dev
|
||||
- main
|
||||
tags:
|
||||
include:
|
||||
- "*"
|
||||
paths:
|
||||
include:
|
||||
- supervisor/*
|
||||
- rootfs/*
|
||||
- requirements.txt
|
||||
- setup.py
|
||||
- Dockerfile
|
||||
- build.json
|
||||
- supervisor/*
|
||||
- rootfs/*
|
||||
- requirements.txt
|
||||
- setup.py
|
||||
- Dockerfile
|
||||
- build.json
|
||||
pr: none
|
||||
variables:
|
||||
- name: versionBuilder
|
||||
|
@ -4,24 +4,23 @@ trigger:
|
||||
batch: true
|
||||
branches:
|
||||
include:
|
||||
- dev
|
||||
- main
|
||||
pr: none
|
||||
variables:
|
||||
- name: versionWheels
|
||||
value: '1.13.0-3.8-alpine3.12'
|
||||
value: "1.13.0-3.8-alpine3.12"
|
||||
resources:
|
||||
repositories:
|
||||
- repository: azure
|
||||
type: github
|
||||
name: 'home-assistant/ci-azure'
|
||||
endpoint: 'home-assistant'
|
||||
|
||||
name: "home-assistant/ci-azure"
|
||||
endpoint: "home-assistant"
|
||||
|
||||
jobs:
|
||||
- template: templates/azp-job-wheels.yaml@azure
|
||||
parameters:
|
||||
builderVersion: '$(versionWheels)'
|
||||
builderApk: 'build-base;libffi-dev;openssl-dev'
|
||||
builderPip: 'Cython'
|
||||
skipBinary: 'aiohttp'
|
||||
wheelsRequirement: 'requirements.txt'
|
||||
- template: templates/azp-job-wheels.yaml@azure
|
||||
parameters:
|
||||
builderVersion: "$(versionWheels)"
|
||||
builderApk: "build-base;libffi-dev;openssl-dev"
|
||||
builderPip: "Cython"
|
||||
skipBinary: "aiohttp"
|
||||
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