From 48c9dc48cb5921d593590fe3be8b6203b60d7a27 Mon Sep 17 00:00:00 2001 From: neodiX Date: Mon, 2 Sep 2024 11:09:26 +0400 Subject: [PATCH] allow release of any branch; do not use changelog.md --- .github/workflows/release.yml | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8fc5d6d..8acc64d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,21 +36,6 @@ jobs: mvn clean compile package -DskipTests -Dton_branch=testnet -Darch=-aarch64 cp target/MyLocalTon.jar artifacts/MyLocalTon-arm64-testnet.jar - - name: Checkout main branch - run: | - git checkout main - ls artifacts - - - name: Read CHANGELOG.md and use it as a body of new release - id: read_release - shell: bash - run: | - r=$(cat CHANGELOG.md) - r="${r//'%'/'%25'}" - r="${r//$'\n'/'%0A'}" - r="${r//$'\r'/'%0D'}" - echo "::set-output name=CHANGELOG_BODY::$r" - - name: Create Release id: create_release uses: actions/create-release@v1 @@ -59,8 +44,6 @@ jobs: with: tag_name: v${{ github.run_number }} release_name: MyLocalTon v${{ github.run_number }} - body: | - ${{ steps.read_release.outputs.CHANGELOG_BODY }} draft: false prerelease: false