Bump version to 0.1.3 #15
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build and Release | |
| on: | |
| push: | |
| tags: | |
| - "v*" | |
| workflow_dispatch: | |
| inputs: | |
| version: | |
| description: "Version tag (e.g., v0.1.0)" | |
| required: false | |
| default: "" | |
| env: | |
| CARGO_TERM_COLOR: always | |
| permissions: | |
| contents: write | |
| jobs: | |
| build-macos: | |
| runs-on: self-hosted | |
| outputs: | |
| version: ${{ steps.get_version.outputs.version }} | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Get version | |
| id: get_version | |
| run: | | |
| if [ "${{ github.event_name }}" = "workflow_dispatch" ] && [ -n "${{ github.event.inputs.version }}" ]; then | |
| VERSION="${{ github.event.inputs.version }}" | |
| else | |
| VERSION="${GITHUB_REF#refs/tags/}" | |
| fi | |
| echo "version=$VERSION" >> $GITHUB_OUTPUT | |
| - name: Install frontend dependencies | |
| run: bun install | |
| - name: Build Tauri app | |
| run: bun tauri build --target aarch64-apple-darwin | |
| - name: Upload DMG artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: macos-dmg | |
| path: src-tauri/target/aarch64-apple-darwin/release/bundle/dmg/*.dmg | |
| - name: Upload App bundle artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: macos-app | |
| path: src-tauri/target/aarch64-apple-darwin/release/bundle/macos/*.app | |
| build-tarball: | |
| runs-on: ubuntu-latest | |
| outputs: | |
| version: ${{ steps.get_version.outputs.version }} | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Get version | |
| id: get_version | |
| run: | | |
| if [ "${{ github.event_name }}" = "workflow_dispatch" ] && [ -n "${{ github.event.inputs.version }}" ]; then | |
| VERSION="${{ github.event.inputs.version }}" | |
| else | |
| VERSION="${GITHUB_REF#refs/tags/}" | |
| fi | |
| echo "version=$VERSION" >> $GITHUB_OUTPUT | |
| - name: Create source tarball | |
| run: | | |
| VERSION="${{ steps.get_version.outputs.version }}" | |
| VERSION_NUM="${VERSION#v}" | |
| mkdir -p "seer-${VERSION_NUM}" | |
| rsync -av --progress . "seer-${VERSION_NUM}" \ | |
| --exclude "seer-${VERSION_NUM}" \ | |
| --exclude '.git' \ | |
| --exclude 'node_modules' \ | |
| --exclude 'src-tauri/target' \ | |
| --exclude 'dist' \ | |
| --exclude '.DS_Store' \ | |
| --exclude '*.log' | |
| tar -czvf "seer-${VERSION_NUM}.tar.gz" "seer-${VERSION_NUM}" | |
| sha256sum "seer-${VERSION_NUM}.tar.gz" > "seer-${VERSION_NUM}.tar.gz.sha256" | |
| - name: Upload tarball artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: source-tarball | |
| path: | | |
| seer-*.tar.gz | |
| seer-*.tar.gz.sha256 | |
| create-release: | |
| needs: [build-macos, build-tarball] | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Download all artifacts | |
| uses: actions/download-artifact@v4 | |
| with: | |
| path: artifacts | |
| - name: Prepare release files | |
| run: | | |
| mkdir -p release-files | |
| find artifacts -type f \( -name "*.dmg" -o -name "*.tar.gz" -o -name "*.sha256" \) -exec cp {} release-files/ \; | |
| ls -la release-files/ | |
| - name: Create or update release | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| tag_name: ${{ needs.build-macos.outputs.version }} | |
| name: "Seer ${{ needs.build-macos.outputs.version }}" | |
| draft: true | |
| prerelease: false | |
| fail_on_unmatched_files: false | |
| files: release-files/* | |
| body: | | |
| ## Seer ${{ needs.build-macos.outputs.version }} | |
| A desktop application for media file management, metadata editing, codec detection, and re-encoding. | |
| **Seer** (Tamil: சீர்) - to prune, order, uniformity, neatness. | |
| --- | |
| ### 📦 Downloads | |
| | Platform | Architecture | File | | |
| |----------|--------------|------| | |
| | macOS | Apple Silicon (M1/M2/M3) | `Seer_*_aarch64.dmg` | | |
| --- | |
| ### 👨💻 Developer | |
| **Imran** | |
| - 🌐 Website: [imran.codes](https://imran.codes) | |
| - ☕ Support: [Buy Me a Coffee](https://buymeacoffee.com/imran.vz) | |
| - 🐙 GitHub: [@imran-vz](https://github.com/imran-vz) | |
| --- | |
| ### 📋 Requirements | |
| - **FFmpeg** - Required for media analysis | |
| - **ExifTool** - Optional, for image metadata | |
| --- | |
| ### ⚠️ macOS Installation | |
| Since the app is not code-signed, macOS may show a "damaged" warning. To fix this, run in Terminal after installing: | |
| ``` | |
| xattr -cr /Applications/Seer.app | |
| ``` | |
| Then open the app normally. | |
| --- | |
| ### 📄 License | |
| MIT License | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |