diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml deleted file mode 100644 index d47627e5..00000000 --- a/.github/workflows/publish-release.yml +++ /dev/null @@ -1,75 +0,0 @@ -name: Publish Rive React Native release -on: - workflow_dispatch: -jobs: - publish: - name: Install and publish - runs-on: ubuntu-latest - permissions: - id-token: write # Required for OIDC - contents: write # allows this workflow to commit to the repo - steps: - - name: Checkout - uses: actions/checkout@v5 - with: - fetch-depth: 0 - token: ${{ secrets.PAT_GITHUB }} - - - name: Git config - run: | - git config --local user.email 'hello@rive.app' - git config --local user.name ${{ github.actor }} - - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: 'lts/*' - registry-url: 'https://registry.npmjs.org' - - - name: Enable Corepack and Use Correct Yarn Version - run: | - corepack enable - corepack prepare yarn@4.7.0 --activate - - - name: Restore dependencies - id: yarn-cache - uses: actions/cache/restore@v4 - with: - path: | - **/node_modules - .yarn/install-state.gz - key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}-${{ hashFiles('**/package.json', '!node_modules/**') }} - restore-keys: | - ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }} - ${{ runner.os }}-yarn- - - - name: Debug Yarn State (Optional) - run: yarn install --check-cache - - - name: Install dependencies - if: steps.yarn-cache.outputs.cache-hit != 'true' - run: yarn install --immutable - shell: bash - - - name: Cache dependencies - if: steps.yarn-cache.outputs.cache-hit != 'true' - uses: actions/cache/save@v4 - with: - path: | - **/node_modules - .yarn/install-state.gz - key: ${{ steps.yarn-cache.outputs.cache-primary-key }} - - - name: Lint - run: yarn lint - - - name: Type Check - run: yarn typescript - - - name: Build lib - run: yarn prepare - - - name: Publish - run: | - chmod +x ./scripts/add_build_number.sh - yarn release --increment=$(cat version.txt) diff --git a/scripts/add_build_number.sh b/scripts/add_build_number.sh deleted file mode 100755 index 84ec244f..00000000 --- a/scripts/add_build_number.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -get_package_version() { - PACKAGE_VERSION="$(awk -F'"' '/"version": ".+"/{ print $4; exit; }' package.json)" -} -get_package_version - -echo "$PACKAGE_VERSION" diff --git a/version.txt b/version.txt deleted file mode 100644 index 5740dd07..00000000 --- a/version.txt +++ /dev/null @@ -1 +0,0 @@ -9.8.0 \ No newline at end of file