diff --git a/.github/workflows/release_client.yml b/.github/workflows/release_client.yml index b2283cb..ddd3538 100644 --- a/.github/workflows/release_client.yml +++ b/.github/workflows/release_client.yml @@ -42,7 +42,7 @@ jobs: if: startsWith(github.event.inputs.release-type, 'pre') != true run: | NEW_VERSION=$(npm --no-git-tag-version version ${{ github.event.inputs.release-type }}) - echo "NEW_VERSION=client-$NEW_VERSION" >> $GITHUB_ENV + echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV echo "RELEASE_TAG=latest" >> $GITHUB_ENV env: RELEASE_TYPE: ${{ github.event.inputs.release-type }} @@ -52,7 +52,7 @@ jobs: if: startsWith(github.event.inputs.release-type, 'pre') run: | NEW_VERSION=$(npm --no-git-tag-version --preid=beta version ${{ github.event.inputs.release-type }}) - echo "NEW_VERSION=client-$NEW_VERSION" >> $GITHUB_ENV + echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV echo "RELEASE_TAG=beta" >> $GITHUB_ENV env: RELEASE_TYPE: ${{ github.event.inputs.release-type }} @@ -75,7 +75,7 @@ jobs: - name: Update GitHub release documentation uses: softprops/action-gh-release@v1 with: - tag_name: ${{ env.NEW_VERSION }} + tag_name: client-${{ env.NEW_VERSION }} body: ${{ steps.get-changelog.outputs.changelog }} prerelease: ${{ startsWith(github.event.inputs.release-type, 'pre') }} @@ -83,7 +83,6 @@ jobs: run: | git add client/package.json client/CHANGELOG.md git commit -m "release ${{ env.NEW_VERSION }}" - working-directory: client - name: Install dependencies run: yarn install diff --git a/.github/workflows/release_server.yml b/.github/workflows/release_server.yml index 36e984a..cfb3c40 100644 --- a/.github/workflows/release_server.yml +++ b/.github/workflows/release_server.yml @@ -62,7 +62,7 @@ jobs: DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }} uses: Ilshidur/action-discord@master - - name: Create and push new t]ag + - name: Create and push new tag run: | git tag ${{ env.NEW_TAG }} git push origin ${{ env.NEW_TAG }}