Skip to content

Commit

Permalink
0.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
pompurin404 committed Aug 7, 2024
1 parent a5e72ff commit 5c60310
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 29 deletions.
27 changes: 0 additions & 27 deletions .github/workflows/aur.yml

This file was deleted.

25 changes: 24 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ jobs:
files: dist/*.dmg
token: ${{ secrets.GITHUB_TOKEN }}

aur-updater:
aur-release-updater:
strategy:
fail-fast: false
matrix:
Expand All @@ -165,6 +165,8 @@ jobs:
needs: linux
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Update Version
run: |
sed -i "s/pkgver=.*/pkgver=$(echo ${{ github.ref }} | tr -d 'refs/tags/v')/" aur/mihomo-party-bin/PKGBUILD
Expand Down Expand Up @@ -192,3 +194,24 @@ jobs:
commit_message: Update AUR package
ssh_keyscan_types: rsa,ed25519
allow_empty_commits: false

aur-git-updater:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: update version
run: |
sed -i "s/pkgver=.*/pkgver=$(git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | tr -d 'v')/" aur/mihomo-party-git/PKGBUILD
- name: Publish AUR package
uses: KSXGitHub/github-actions-deploy-aur@v2.7.2
with:
pkgname: mihomo-party-git
pkgbuild: aur/mihomo-party-git/PKGBUILD
commit_username: pompurin404
commit_email: pompurin404@mihomo.party
ssh_private_key: ${{ secrets.PRIVATE_KEY }}
commit_message: Update AUR package
ssh_keyscan_types: rsa,ed25519
allow_empty_commits: false
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mihomo-party",
"version": "0.1.3",
"version": "0.1.4",
"description": "Mihomo Party",
"main": "./out/main/index.js",
"author": "mihomo-party",
Expand Down

0 comments on commit 5c60310

Please sign in to comment.