[READ-ONLY] Mirror of https://github.com/probablykasper/mr-tagger. Music file tagging app for Mac, Linux and Windows
audio linux macos music tagger tauri windows
0

Configure Feed

Select the types of activity you want to include in your feed.

Update github actions

Kasper (Feb 24, 2022, 3:17 AM +0100) b3046f0a 8ad78b4a

+26 -38
+6 -11
.github/workflows/release.yml
··· 1 - name: Publish 1 + name: Release 2 2 on: 3 3 push: 4 4 tags: 5 5 - 'v*' 6 6 workflow_dispatch: 7 - 8 - env: 9 - CARGO_TERM_COLOR: always 10 7 11 8 jobs: 12 9 release: ··· 22 19 - name: Node.js setup 23 20 uses: actions/setup-node@v1 24 21 with: 25 - node-version: 14 22 + node-version: 16 26 23 27 24 - name: Rust setup 28 25 uses: actions-rs/toolchain@v1 ··· 37 34 38 35 - run: npm install 39 36 40 - - run: npm run build 41 - 42 - - uses: tauri-apps/tauri-action@v0 37 + - name: Build and release 38 + uses: tauri-apps/tauri-action@b3f03835ca527e9735b386f1b1302ca70714b1e6 43 39 env: 44 40 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 45 41 with: 46 - tagName: ${{ github.ref_name }} 47 - releaseName: ${{ github.ref_name }} 42 + tagName: v__VERSION__ 43 + releaseName: v__VERSION__ 48 44 releaseDraft: true 49 - prerelease: false
+13 -20
.github/workflows/test.yml
··· 3 3 push: 4 4 branches: 5 5 - '*' 6 - tags-ignore: 7 - - '*' 8 6 pull_request: 9 - branches: 10 - - '*' 11 7 workflow_dispatch: 12 - 13 - env: 14 - CARGO_TERM_COLOR: always 15 8 16 9 jobs: 17 10 test: ··· 27 20 - name: Node.js setup 28 21 uses: actions/setup-node@v1 29 22 with: 30 - node-version: 14 23 + node-version: 16 31 24 32 25 - name: Rust setup 33 26 uses: actions-rs/toolchain@v1 34 27 with: 35 28 toolchain: stable 36 29 30 + - name: Rust Cache 31 + uses: Swatinem/rust-cache@v1 32 + with: 33 + working-directory: ./src-tauri 34 + 37 35 - name: Install webkit2gtk (ubuntu only) 38 36 if: matrix.platform == 'ubuntu-latest' 39 37 run: | 40 38 sudo apt-get update 41 39 sudo apt-get install -y webkit2gtk-4.0 42 40 43 - - name: Rust cache 44 - uses: actions/cache@v2 45 - with: 46 - path: | 47 - ~/.cargo/bin/ 48 - ~/.cargo/registry/index/ 49 - ~/.cargo/registry/cache/ 50 - ~/.cargo/git/db/ 51 - src-tauri/target/ 52 - key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} 53 - 54 41 - run: npm install 55 42 56 43 - run: npm run build:web 57 44 45 + - run: npm run lint 46 + if: matrix.platform == 'ubuntu-latest' 47 + 58 48 - run: npm run test 59 49 60 - - run: npm run check 50 + - name: Build 51 + uses: tauri-apps/tauri-action@b3f03835ca527e9735b386f1b1302ca70714b1e6 52 + env: 53 + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+4 -4
README.md
··· 29 29 ### Commands 30 30 - `npm run dev`: Start app in dev mode 31 31 - `npm run build`: Build 32 + - `npm run lint`: Lint 32 33 - `npm run format`: Format 33 - - `npm run check`: Check code 34 34 35 35 ### Release new version 36 36 1. Update `CHANGELOG.md` 37 - 2. Manually bump the version number in `src-tauri/Cargo.toml` 38 - 3. Run `npm run check` to make sure `Cargo.lock` is up to date 39 - 4. Commit with a tag in the format `v#.#.#` 37 + 2. Bump the version number in `src-tauri/Cargo.toml` 38 + 3. Run `npm run check` to update `Cargo.lock` 39 + 4. Create a git tag in the format `v#.#.#` 40 40 5. Add release notes to the generated GitHub release and publish it
+3 -3
package.json
··· 7 7 "build": "tauri build", 8 8 "build:web": "vite build", 9 9 "preview": "vite preview", 10 - "test": "cargo test --manifest-path ./src-tauri/Cargo.toml", 11 - "format": "prettier --write --plugin-search-dir=. src *.js && eslint --fix src *.js", 12 - "check": "cargo check --manifest-path src-tauri/Cargo.toml && eslint src *.js && svelte-check" 10 + "test": "echo 'No tests'", 11 + "lint": "prettier --check --plugin-search-dir=. src *.js && eslint src *.js && svelte-check", 12 + "format": "prettier --write --plugin-search-dir=. src *.js && eslint --fix src *.js" 13 13 }, 14 14 "devDependencies": { 15 15 "@tauri-apps/api": "1.0.0-rc.1",