diff --git a/.github/workflows/test-git.yml b/.github/workflows/test-git.yml new file mode 100644 index 0000000..c5236f0 --- /dev/null +++ b/.github/workflows/test-git.yml @@ -0,0 +1,30 @@ +name: Create Release, update README, send announcement + + +on: + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + permissions: + id-token: write + contents: write + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Set tag name + id: tag + run: | + echo "::set-output name=version::${GITHUB_REF#refs/tags/}" + + - name: Generate release notes + id: release_notes + run: | + echo "${{ steps.tag.outputs.version }}" + git tag -l --format='%(contents)' "${{ steps.tag.outputs.version }}" + tools/announceybot.exe release-notes "${{ steps.tag.outputs.version }}" > relnotes.md + cat relnotes.md +