Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update release.yml #296

Merged
merged 1 commit into from
Dec 6, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,6 @@ jobs:
with:
fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@b64ffcaf5b410884ad320a9cfac8866006a109aa
with:
python-version: '3.10'
cache: 'pip'

- name: Get previous version
id: prevver
run: |
Expand All @@ -34,6 +28,13 @@ jobs:
spec_version=`grep -oP 'VERSION \K(\d+\.\d+\.\d+)' tuf-spec.md`
echo "spec_version=$spec_version" >> $GITHUB_OUTPUT
- name: Set up Python
if: steps.getver.outputs.spec_version != steps.prevver.outputs.prev_version
uses: actions/setup-python@b64ffcaf5b410884ad320a9cfac8866006a109aa
with:
python-version: '3.10'
cache: 'pip'

- name: Make release
if: steps.getver.outputs.spec_version != steps.prevver.outputs.prev_version
uses: actions/create-release@0cb9c9b65d5d1901c1f53e5e66eaf4afd303e70e
Expand Down