parent
4ec931d8ed
commit
4dfcbc1249
2 changed files with 2 additions and 3 deletions
2
.github/workflows/nightly.yml
vendored
2
.github/workflows/nightly.yml
vendored
|
|
@ -110,7 +110,7 @@ jobs:
|
|||
|
||||
- name: Update version
|
||||
run: |
|
||||
sed -i -e s#.*version.*#' "version": "nightly-'$(date +'%Y%m%d%H%M%S')'",'# ./hassio/evcc-nightly/config.json
|
||||
sed -i -e s#\"version.*#\"version\":\ \"nightly-$(date +'%Y%m%d%H%M%S')\",# ./hassio/evcc-nightly/config.json
|
||||
|
||||
- name: Push
|
||||
run: |
|
||||
|
|
|
|||
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
|
|
@ -111,8 +111,7 @@ jobs:
|
|||
|
||||
- name: Update version
|
||||
run: |
|
||||
export RELEASE_VERSION=$(echo ${{ github.ref }} | sed -e s#refs/tags/v##)
|
||||
sed -i -e s#.*version.*#' "version": "'$RELEASE_VERSION'",'# ./hassio/evcc/config.json
|
||||
sed -i -e s#\"version.*#\"version\":\ "$(echo ${{ github.ref }} | sed -e s#refs/tags/##)\",# ./hassio/evcc/config.json
|
||||
|
||||
- name: Push
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue