Push dev to dev channel (#1313)

This commit is contained in:
Stefan Agner 2021-04-08 15:51:59 +02:00 committed by GitHub
parent aff28ce60e
commit 366bb0e495
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 2 deletions

View File

@ -87,3 +87,23 @@ jobs:
target: ${{ secrets.DEV_TARGET_PATH }}/${{ needs.version.outputs.version_main }}.${{ needs.version.outputs.version_dev }}/ target: ${{ secrets.DEV_TARGET_PATH }}/${{ needs.version.outputs.version_main }}.${{ needs.version.outputs.version_dev }}/
strip_components: 1 strip_components: 1
bump_version:
name: Bump dev version to ${{ needs.version.outputs.version_main }}.${{ needs.version.outputs.version_dev }}
needs: [ build, version ]
runs-on: [ "ubuntu-20.04" ]
steps:
- name: Initialize git
uses: home-assistant/actions/helpers/git-init@master
with:
name: ${{ secrets.GIT_NAME }}
email: ${{ secrets.GIT_EMAIL }}
token: ${{ secrets.GIT_TOKEN }}
- name: Bump Home Assistant OS dev version
uses: home-assistant/actions/helpers/version-push@master
with:
key: "hassos[]"
key-description: "Home Assistant OS"
version: ${{ needs.version.outputs.version_main }}.${{ needs.version.outputs.version_dev }}
channel: "dev"

View File

@ -160,10 +160,10 @@ jobs:
email: ${{ secrets.GIT_EMAIL }} email: ${{ secrets.GIT_EMAIL }}
token: ${{ secrets.GIT_TOKEN }} token: ${{ secrets.GIT_TOKEN }}
- name: Bump Home Assistant OS dev version - name: Bump Home Assistant OS beta version
uses: home-assistant/actions/helpers/version-push@master uses: home-assistant/actions/helpers/version-push@master
with: with:
key: "hassos[]" key: "hassos[]"
key-description: "Home Assistant OS" key-description: "Home Assistant OS"
version: ${{ needs.validate_release.outputs.version }} version: ${{ needs.validate_release.outputs.version }}
channel: "dev" channel: "beta"