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

Release 1.4.0.post1 #342

Merged
merged 3 commits into from
Dec 12, 2024
Merged
Show file tree
Hide file tree
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
6 changes: 4 additions & 2 deletions .github/workflows/set_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,13 @@ jobs:
import os
from packaging.version import Version

version_string = 'v' + str(Version("${{ inputs.version }}"))
version_number = str(Version("${{ inputs.version }}"))
version_string = 'v' + version_number

print(f"Normalised version string: {version_string}")

with open(os.environ["GITHUB_ENV"], "a") as github_env:
print(f"VERSION_NUMBER={version_number}", file=github_env)
print(f"VERSION_STRING={version_string}", file=github_env)

- uses: actions/checkout@v4
Expand All @@ -45,7 +47,7 @@ jobs:
- name: "Update CITATION.cff"
shell: bash -l {0}
run: |
sed -i "s/^version:\ .*/version: ${VERSION_STRING}/" CITATION.cff
sed -i "s/^version:\ .*/version: ${VERSION_NUMBER}/" CITATION.cff
sed -i "s/^date-released:\ .*/date-released: $(date -I)/" CITATION.cff

- name: "Create commit"
Expand Down
14 changes: 12 additions & 2 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
`Unreleased <https://github.com/pace-neutrons/Euphonic/compare/v1.4.0...HEAD>`_
-------------------------------------------------------------------------------
`Unreleased <https://github.com/pace-neutrons/Euphonic/compare/v1.4.0.post1...HEAD>`_
-------------------------------------------------------------------------------------


`v1.4.0.post1 <https://github.com/pace-neutrons/Euphonic/compare/v1.4.0...v1.4.0.post1>`_
-----------------------------------------------------------------------------------------

This post-release makes some changes to the source-distribution build process:
- A bug is fixed in the version-numbering script; this particularly affected Windows
- A copies of the unit tests and documentation were mistakenly included
in tarballs, making them excessively large. This is no longer present.


- Bug fixes

Expand Down
2 changes: 1 addition & 1 deletion CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ authors:
given-names: "Jacob S."
title: "Euphonic"
doi: 10.5286/SOFTWARE/EUPHONIC
version: v1.4.0.post1
version: 1.4.0.post1
date-released: 2024-12-12
license: GPL-3.0-only
repository-code: https://github.com/pace-neutrons/Euphonic
Expand Down
Loading