File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -104,10 +104,10 @@ jobs:
104104 run : |
105105 echo "CORE_HASH=$(git symbolic-ref --short HEAD 2>/dev/null || git rev-parse HEAD | sed 's|/|_|g')" >> $GITHUB_ENV
106106 echo "LATEST_TAG=$(git describe --tags --abbrev=0)" >> $GITHUB_ENV
107+ echo "REQUIRE_VERSION=$([[ '${{ env.CORE_HASH }}' =~ [0-9]+\.[xX] ]] && echo '${{ env.CORE_HASH }}-dev' || echo 'dev-${{ env.CORE_HASH }}')" >> $GITHUB_ENV
107108
108109 - name : Composer require the local rapidez/core
109- run : |
110- [[ '${{ env.CORE_HASH }}' =~ [0-9]+\.[xX] ]] && composer require rapidez/core:"${{ env.CORE_HASH }}-dev as ${{ env.LATEST_TAG }}" || composer require rapidez/core:"dev-${{ env.CORE_HASH }} as ${{ env.LATEST_TAG }}"
110+ run : composer require rapidez/core:"${{ env.REQUIRE_VERSION }} as ${{ env.LATEST_TAG }}"
111111
112112 - name : Install Rapidez command
113113 run : php artisan rapidez:install --frontendonly
You can’t perform that action at this time.
0 commit comments