Skip to content

Commit

Permalink
update with version on dev
Browse files Browse the repository at this point in the history
  • Loading branch information
proddy authored Oct 30, 2022
1 parent d8284ec commit d0ac0b7
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/pre_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,24 +14,22 @@ jobs:

steps:

- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/setup-node@v3
with:
node-version: '16'

- name: Get EMS-ESP source code and version
id: build_info
run: |
version=`grep -E '^#define EMSESP_APP_VERSION' ./src/version.h | awk -F'"' '{print $2}'`
echo "::set-output name=version::$version"
echo "VERSION=$version" >> $GITHUB_OUTPUT
- name: Install PlatformIO
run: |
python -m pip install --upgrade pip
pip install -U platformio
platformio upgrade
platformio update
- name: Build WebUI
run: |
Expand All @@ -48,7 +46,7 @@ jobs:
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
title: Development Build v${{steps.build_info.outputs.version}}
title: Development Build v${{steps.build_info.outputs.VERSION}}
automatic_release_tag: "latest"
prerelease: true
files: |
Expand Down

0 comments on commit d0ac0b7

Please sign in to comment.