mirror of
https://github.com/zephrynis/ptero-sidebar.git
synced 2026-04-17 09:31:55 +00:00
Fix: remove quotes from version
This commit is contained in:
2
.github/workflows/export_ext.yml
vendored
2
.github/workflows/export_ext.yml
vendored
@@ -18,6 +18,8 @@ jobs:
|
|||||||
id: get_version
|
id: get_version
|
||||||
run: |
|
run: |
|
||||||
VERSION=$(sed -n 's/^[[:space:]]*version:[[:space:]]*//p' conf.yml | head -n 1)
|
VERSION=$(sed -n 's/^[[:space:]]*version:[[:space:]]*//p' conf.yml | head -n 1)
|
||||||
|
VERSION=${VERSION//\"/}
|
||||||
|
VERSION=${VERSION//\'/}
|
||||||
echo "Detected version: $VERSION"
|
echo "Detected version: $VERSION"
|
||||||
echo "VERSION=$VERSION" >> $GITHUB_ENV
|
echo "VERSION=$VERSION" >> $GITHUB_ENV
|
||||||
echo "::set-output name=VERSION::$VERSION"
|
echo "::set-output name=VERSION::$VERSION"
|
||||||
|
|||||||
Reference in New Issue
Block a user