👷 Replace cli/bin/ with bin/ in release.yml

This commit is contained in:
M. Mert Yildiran 2022-12-30 05:58:18 +03:00
parent 8837afe7e1
commit de728840f0
No known key found for this signature in database
GPG Key ID: DA5D6DCBB758A461

View File

@ -48,17 +48,17 @@ jobs:
- name: Log the version into a .txt file - name: Log the version into a .txt file
shell: bash shell: bash
run: | run: |
echo '${{ steps.versioning.outputs.version }}' >> cli/bin/version.txt echo '${{ steps.versioning.outputs.version }}' >> bin/version.txt
- name: Release - name: Release
uses: ncipollo/release-action@v1 uses: ncipollo/release-action@v1
with: with:
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
artifacts: "cli/bin/*" artifacts: "bin/*"
commit: ${{ steps.version_parameters.outputs.branch }} commit: ${{ steps.version_parameters.outputs.branch }}
tag: ${{ steps.versioning.outputs.version }} tag: ${{ steps.versioning.outputs.version }}
prerelease: ${{ github.ref != 'refs/heads/main' }} prerelease: ${{ github.ref != 'refs/heads/main' }}
bodyFile: 'cli/bin/README.md' bodyFile: 'bin/README.md'
goreleaser: goreleaser:
runs-on: ubuntu-latest runs-on: ubuntu-latest