From 22ec91bfa4025dc957c2e7b951c8148a46c09ada Mon Sep 17 00:00:00 2001 From: Chethan Date: Mon, 20 Nov 2023 23:33:08 +0530 Subject: [PATCH] feat: second commit --- .github/workflows/release-new-version.yml | 44 +++++++++++------------ 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/.github/workflows/release-new-version.yml b/.github/workflows/release-new-version.yml index 4853d53..068bfc2 100644 --- a/.github/workflows/release-new-version.yml +++ b/.github/workflows/release-new-version.yml @@ -8,23 +8,23 @@ jobs: name: Release a new version runs-on: ubuntu-latest steps: - - name: Generate a token - id: generate_token - uses: actions/create-github-app-token@v1 - with: - app-id: ${{ secrets.APP_ID }} - private-key: ${{ secrets.APP_PRIVATE_KEY }} + # - name: Generate a token + # id: generate_token + # uses: actions/create-github-app-token@v1 + # with: + # app-id: ${{ secrets.APP_ID }} + # private-key: ${{ secrets.APP_PRIVATE_KEY }} - name: Checkout repository uses: actions/checkout@v4 - with: - fetch-depth: 0 - token: ${{ steps.generate_token.outputs.token }} + # with: + # fetch-depth: 0 + # token: ${{ steps.generate_token.outputs.token }} - - name: Install Rust - uses: dtolnay/rust-toolchain@master - with: - toolchain: stable 2 weeks ago + # - name: Install Rust + # uses: dtolnay/rust-toolchain@master + # with: + # toolchain: stable 2 weeks ago - name: Install cocogitto uses: baptiste0928/cargo-install@v2.1.0 @@ -38,18 +38,18 @@ jobs: crate: git-cliff version: 1.2.0 - - name: Install changelog-gh-usernames - uses: baptiste0928/cargo-install@v2.1.0 - with: - crate: changelog-gh-usernames - git: https://github.com/SanchithHegde/changelog-gh-usernames - rev: dab6da3ff99dbbff8650c114984c4d8be5161ac8 + # - name: Install changelog-gh-usernames + # uses: baptiste0928/cargo-install@v2.1.0 + # with: + # crate: changelog-gh-usernames + # git: https://github.com/SanchithHegde/changelog-gh-usernames + # rev: dab6da3ff99dbbff8650c114984c4d8be5161ac8 - name: Set Git Configuration shell: bash run: | - git config --local user.name 'hyperswitch-bot[bot]' - git config --local user.email '148525504+hyperswitch-bot[bot]@users.noreply.github.com' + git config --local user.name 'Chethan' + git config --local user.email 'chethanrao5355@gmail.com' - name: Obtain previous and new tag information shell: bash @@ -58,7 +58,7 @@ jobs: PREVIOUS_TAG="$(git tag --sort='version:refname' --merged | tail --lines 1)" if [[ "$(cog bump --auto --dry-run)" == *"No conventional commits for your repository that required a bump"* ]]; then NEW_TAG="$(cog bump --patch --dry-run)" - elif [[ "${PREVIOUS_TAG}" != "${NEW_TAG}" ]]; then + else NEW_TAG="$(cog bump --auto --dry-run)" fi echo "NEW_TAG=${NEW_TAG}" >> $GITHUB_ENV