| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 922176e commit f289008
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -55,12 +55,11 @@ jobs: | |||
| 55 | 55 | run: pnpm run build:${{ matrix.platform }} | |
| 56 | 56 | env: | |
| 57 | 57 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| 58 | - TAG: ${{ github.ref_name || inputs.tag }} | ||
| 59 | 58 | ||
| 60 | 59 | - name: Upload artifacts | |
| 61 | 60 | uses: actions/upload-artifact@v4 | |
| 62 | 61 | with: | |
| 63 | - name: masscode-${{ matrix.platform }}-${{ env.TAG }} | ||
| 62 | + name: masscode-${{ matrix.platform }}-${{ github.ref_name || inputs.tag }} | ||
| 64 | 63 | path: | | |
| 65 | 64 | dist/*.dmg | |
| 66 | 65 | dist/*.pkg | |
@@ -117,13 +116,12 @@ jobs: | |||
| 117 | 116 | run: pnpm run build:sponsored:${{ matrix.platform }} | |
| 118 | 117 | env: | |
| 119 | 118 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| 120 | - TAG: ${{ github.ref_name || inputs.tag }} | ||
| 121 | 119 | VITE_SPONSORED: true | |
| 122 | 120 | ||
| 123 | 121 | - name: Upload artifacts | |
| 124 | 122 | uses: actions/upload-artifact@v4 | |
| 125 | 123 | with: | |
| 126 | - name: sponsored-${{ matrix.platform }}-${{ env.TAG }} | ||
| 124 | + name: sponsored-${{ matrix.platform }}-${{ github.ref_name || inputs.tag }} | ||
| 127 | 125 | path: | | |
| 128 | 126 | dist/*.dmg | |
| 129 | 127 | dist/*.pkg | |
@@ -153,7 +151,14 @@ jobs: | |||
| 153 | 151 | path: artifacts | |
| 154 | 152 | ||
| 155 | 153 | - name: Display structure of downloaded files | |
| 156 | - run: ls -la artifacts/ | ||
| 154 | + run: ls -lR artifacts/ | ||
| 155 | + | ||
| 156 | + - name: Prepare release files | ||
| 157 | + run: | | ||
| 158 | + mkdir -p release-files | ||
| 159 | + find artifacts/masscode-* -type f \( -name "massCode-*.dmg" -o -name "massCode-*.pkg" -o -name "massCode-*.exe" -o -name "massCode-*.msi" -o -name "massCode-*.AppImage" -o -name "massCode-*.snap" \) ! -name "*-sponsored.*" -exec cp {} release-files/ \; | ||
| 160 | + echo "Files prepared for release:" | ||
| 161 | + ls -lh release-files/ | ||
| 157 | 162 | ||
| 158 | 163 | - name: Get package version | |
| 159 | 164 | id: package-version | |
@@ -164,13 +169,7 @@ jobs: | |||
| 164 | 169 | id: create_release | |
| 165 | 170 | uses: softprops/action-gh-release@v2 | |
| 166 | 171 | with: | |
| 167 | - files: | | ||
| 168 | - artifacts/masscode-*/*.dmg | ||
| 169 | - artifacts/masscode-*/*.pkg | ||
| 170 | - artifacts/masscode-*/*.exe | ||
| 171 | - artifacts/masscode-*/*.msi | ||
| 172 | - artifacts/masscode-*/*.AppImage | ||
| 173 | - artifacts/masscode-*/*.snap | ||
| 172 | + files: release-files/* | ||
| 174 | 173 | tag_name: ${{ github.ref_name || inputs.tag }} | |
| 175 | 174 | draft: true | |
| 176 | 175 | generate_release_notes: true | |
| Back | FazBrowse Home | New Git URL |
0 commit comments