diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index bf81551..a8f3a28 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -14,9 +14,4 @@ jobs: id: semantic uses: cycjimmy/semantic-release-action@v2 env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Adjust version number in file name accordingly. - if: steps.semantic.outputs.new_release_published == 'true' - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: echo '{\n\t"version":"${{ steps.semantic.outputs.new_release_version }}",\n\t"changelog":"- ${{ steps.semantic.outputs.new_release_notes }}"\n} > ELS-FiveM/version.json' | git config user.email "oh_wow@okay.com" | git config user.name "auto push" | git commit -a -m "dev!":" version update" + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file