Skip to content

Commit bd510d0

Browse files
author
David Andersson
committed
add capturing the version
1 parent 9be91ff commit bd510d0

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/code-quality.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,10 +274,18 @@ jobs:
274274
needs:
275275
- test-production-pypi
276276
steps:
277+
- name: Get version from tag
278+
id: tag_name
279+
run: |
280+
echo ::set-output name=current_version::${GITHUB_REF#refs/tags/v}
281+
shell: bash
277282
- uses: actions/checkout@v2
278283
- name: Get latest Changelog Entry
279284
id: changelog_entry
280285
uses: mindsers/changelog-reader-action@v2
286+
with:
287+
version: ${{ steps.tag_name.outputs.current_version }}
288+
path: ./CHANGELOG.md
281289
- name: Retrieve packages
282290
uses: actions/download-artifact@v2.0.7
283291
with:

0 commit comments

Comments
 (0)