From b2ab4ed27cd4de425fc42c3b4b07e431d5649da4 Mon Sep 17 00:00:00 2001 From: aacerox Date: Thu, 19 Oct 2023 18:36:00 +0200 Subject: [PATCH] to be deleted --- .github/workflows/nrc-workflow-release.yml | 57 ---------------------- 1 file changed, 57 deletions(-) delete mode 100644 .github/workflows/nrc-workflow-release.yml diff --git a/.github/workflows/nrc-workflow-release.yml b/.github/workflows/nrc-workflow-release.yml deleted file mode 100644 index 8153d22..0000000 --- a/.github/workflows/nrc-workflow-release.yml +++ /dev/null @@ -1,57 +0,0 @@ -name: Node-Rest-Client Release -on: - push: - branches: - - feat/general-upgrade - workflow_dispatch: -jobs: - create-release-branch: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - with: - fetch-depth: 0 - fetch-tags: true - - - - # - id: # - # name: configure git - # run: | - # # setup the username and email. I tend to use 'GitHub Actions Bot' with no email by default - # git --version - # git config user.name "GitHub Actions Bot" - # git config user.email "<>" - # git status - # git tag - # git describe - - - id: readLatestTag - name: read latest tag - run: echo "latestTag=$(git describe --tags --abbrev=0)" >> "$GITHUB_OUTPUT" - - - id: createReleaseBranch - name: create release branch - env: - RELEASE_TAG: ${{ steps.readLatestTag.outputs.latestTag }} - run: | - export BRANCH_NAME="release/$RELEASE_TAG" - git checkout -b $BRANCH_NAME - git push --set-upstream origin release/$RELEASE_TAG - - - id: cleanInstallRepo - name: clean install repo - run: npm ci - - - id: changesetPR - name: Create Release Pull Request - uses: changesets/action@v1 - env: - NRC_RELEASE_MSG: "node-rest-client release ${{ steps.readLatestTag.outputs.latestTag }}" - GITHUB_TOKEN: ${{ secrets.NRC_GITHUB_TOKEN }} - with: - version: npm run version:packages - commit: "chore(release): ${{ env.NRC_RELEASE_MSG }}" - title: "${{ env.NRC_RELEASE_MSG }}" - - \ No newline at end of file