diff --git a/.gitea/workflows/ci_make_relnotes.yml b/.gitea/workflows/ci_make_relnotes.yml index ba3c00b..4ffe56c 100644 --- a/.gitea/workflows/ci_make_relnotes.yml +++ b/.gitea/workflows/ci_make_relnotes.yml @@ -11,7 +11,13 @@ jobs: uses: actions/checkout@v4 - name: echo name run: echo ${{ github.event.repository.owner.login }} + - name: Get milestone from tag + id: milestone-from-tag + run: | + milestone=$(echo ${{ github.ref_name }} | cut -c 2-) + echo "milestone=$milestone" >> $GITHUB_OUTPUT + echo $milestone - name: Generate Changelog uses: spring-io/github-changelog-generator@v0.0.12 with: - milestone: '1.0.0' \ No newline at end of file + milestone: ${{ steps.milestone-from-tag.outputs.milestone }} \ No newline at end of file