Skip to content

Commit

Permalink
allow release of any branch; do not use changelog.md
Browse files Browse the repository at this point in the history
  • Loading branch information
neodiX committed Sep 2, 2024
1 parent b3c5283 commit 48c9dc4
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down

0 comments on commit 48c9dc4

Please sign in to comment.