From a22c3e89cd04e1e18835d01d41dce156945db56c Mon Sep 17 00:00:00 2001 From: Lars Olzem Date: Mon, 29 Jul 2024 15:10:50 +0200 Subject: [PATCH] Update ci --- .github/workflows/build-release.yml | 3 +++ .github/workflows/bump-version.yml | 11 ++++++++++- Packages/dev.hackebein.object-tracking/README.md | 2 +- Packages/dev.hackebein.object-tracking/package.json | 4 ++-- 4 files changed, 16 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 7455461..4f03151 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -39,6 +39,9 @@ jobs: # Checkout Local Repository - name: Checkout uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac + with: + persist-credentials: false + ref: ${{ github.ref }} # Get the Package version based on the package.json file - name: Get Version diff --git a/.github/workflows/bump-version.yml b/.github/workflows/bump-version.yml index 4e6e813..ee259d8 100644 --- a/.github/workflows/bump-version.yml +++ b/.github/workflows/bump-version.yml @@ -4,16 +4,24 @@ on: push: branches: - master + pull_request: + branches: + - master jobs: bump-version: name: Bump Version on master runs-on: ubuntu-latest + permissions: + contents: write + env: + packagePath: Packages/${{ vars.PACKAGE_NAME }} steps: - name: Checkout source code uses: actions/checkout@v2 with: + persist-credentials: false ref: ${{ github.ref }} - name: Automated Version Bump id: version-bump @@ -21,4 +29,5 @@ jobs: with: tag-prefix: v env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + PACKAGEJSON_DIR: ${{ env.packagePath }} \ No newline at end of file diff --git a/Packages/dev.hackebein.object-tracking/README.md b/Packages/dev.hackebein.object-tracking/README.md index 90cca0c..277ea6f 100644 --- a/Packages/dev.hackebein.object-tracking/README.md +++ b/Packages/dev.hackebein.object-tracking/README.md @@ -1 +1 @@ -# dev.hackebein.object-tracking by User \ No newline at end of file +# dev.hackebein.object-tracking \ No newline at end of file diff --git a/Packages/dev.hackebein.object-tracking/package.json b/Packages/dev.hackebein.object-tracking/package.json index aeb531b..91b922f 100644 --- a/Packages/dev.hackebein.object-tracking/package.json +++ b/Packages/dev.hackebein.object-tracking/package.json @@ -1,8 +1,8 @@ { "name": "dev.hackebein.object-tracking", - "displayName": "VRChat Object Tracking Setup", + "displayName": "Hackebein's Object Tracking Setup", "version": "0.2.0", - "description": "VRChat Object Tracking automated Setup", + "description": "Hackebein's setup for Object Tracking in VRChat", "gitDependencies": {}, "vpmDependencies": { "com.vrchat.avatars": ">= 3.1.12"