Skip to content

Commit

Permalink
Fix release action
Browse files Browse the repository at this point in the history
  • Loading branch information
Limych committed Jul 9, 2022
1 parent 128bd9b commit b4e5f39
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ on:
- "[v0-9]+.[0-9]+*"

jobs:
release_zip_file:
name: "Prepare release asset"
release:
name: "Publish new release"
runs-on: ubuntu-latest
steps:
- name: "Check out repository"
Expand All @@ -17,7 +17,7 @@ jobs:
- working-directory: ./custom_components
run: |
echo "package=$(ls -F | grep \/$ | sed -n "s/\///g;1p")" >> $GITHUB_ENV
echo "release_version=$(git describe --abbrev=0 | sed s/v//)" >> $GITHUB_ENV
echo "release_version=$(git describe --tags | sed s/v//)" >> $GITHUB_ENV
- working-directory: ./custom_components
run: |
echo "basedir=$(pwd)/${{ env.package }}" >> $GITHUB_ENV
Expand Down

0 comments on commit b4e5f39

Please sign in to comment.