diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index a7b39d5..78a150b 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -3,7 +3,7 @@ name: Release on: push: tags: - - 'v*' + - "v*" jobs: release: @@ -15,8 +15,8 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 - ssh-key: '${{ secrets.SSH_PRIVATE_KEY }}' - ssh-known-hosts: '${{ secrets.SSH_KNOWN_HOST }}' + ssh-key: "${{ secrets.SSH_PRIVATE_KEY }}" + ssh-known-hosts: "${{ secrets.SSH_KNOWN_HOST }}" # Install Cypress dependencies - name: Install Cypress dependencies @@ -46,7 +46,7 @@ jobs: - name: Install go uses: https://github.com/actions/setup-go@v3 with: - go-version: '>=1.20.1' + go-version: ">=1.20.1" # Install app dependencies - name: Install app dependencies @@ -80,7 +80,9 @@ jobs: # Create archive - name: Create archive - run: tar -czvf ${{ env.REPO_NAME }}-${{ env.TAG_NAME }}.tar.gz dist VERSION + run: | + echo "$TAG_NAME" >> VERSION + tar -czvf ${{ env.REPO_NAME }}-${{ env.TAG_NAME }}.tar.gz dist VERSION # Create release - name: Create Release @@ -88,5 +90,5 @@ jobs: with: files: |- ${{ env.REPO_NAME }}-${{ env.TAG_NAME }}.tar.gz - api_key: '${{ secrets.RELEASE_TOKEN }}' - title: 'Release ${{ env.TAG_NAME }}' + api_key: "${{ secrets.RELEASE_TOKEN }}" + title: "Release ${{ env.TAG_NAME }}"