Skip to content

Commit

Permalink
update distro instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
gillins committed May 16, 2023
1 parent 84f2cd8 commit ef87f84
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions CreateDistribution.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,46 +11,49 @@ How to create a distribution of kealib.

4. Update Changes.txt, by going through the
change logs since the last release, and noting what has been done.
DON'T FORGET TO COMMIT THIS, BEFORE THE NEXT STEP!!!!
DON'T FORGET TO COMMIT AND PUSH THIS, BEFORE THE NEXT STEP!!!!

5. clone repo into /tmp so similar and cd into it

5. Export an environment variable with the version to make the following commands
6. Export an environment variable with the version to make the following commands
easier UPDATE AS NEEDED:

export KEAVER=1.4.13
export KEAVER=1.5.1

6. Use "git tag" to add a version number tag, e.g.
7. Use "git tag" to add a version number tag, e.g.

git tag -a kealib-${KEAVER} -m "Tag version $KEAVER"

7. Push changes AND tag to github:
8. Push changes AND tag to github:

git push
git push origin --tags

8. Create .zip and .tar.gz using the 'git archive' command and the tag
9. Create .zip and .tar.gz using the 'git archive' command and the tag
created in the previous step:

git archive --format tar.gz --prefix=kealib-${KEAVER}/ -o kealib-${KEAVER}.tar.gz kealib-${KEAVER}
git archive --format zip --prefix=kealib-${KEAVER}/ -o kealib-${KEAVER}.zip kealib-${KEAVER}

9. Create .sha56 files for both the .tar.gz and the .zip:
10. Create .sha56 files for both the .tar.gz and the .zip:

sha256sum kealib-${KEAVER}.tar.gz > kealib-${KEAVER}.tar.gz.sha256
sha256sum kealib-${KEAVER}.zip > kealib-${KEAVER}.zip.sha256

10. Go to https://github.com/ubarsc/kealib/releases and click on the release
11. Go to https://github.com/ubarsc/kealib/releases and click on the release
for the tag just created. Click "Edit".
Tag version: kealib-A.B.C
Release Title: Version A.B.C
Upload files: Add the tar.gz and zip files, and their sha256 checksum files.
Also any Arc/Imagine installers for this version.
Click "Publish release"

11. Update the kealib to the latest version on conda-forge by creating a PR at
https://github.com/conda-forge/kealib-feedstock. Also update the pinning
if required - see https://github.com/conda-forge/conda-forge-pinning-feedstock/
12. Update the kealib to the latest version on conda-forge by creating a PR at
https://github.com/conda-forge/kealib-feedstock (NOTE: this should now happen
automatically). Also update the pinning if required - see
https://github.com/conda-forge/conda-forge-pinning-feedstock/

12. Let the Spack guys know there is a new release.
13. Let the Spack guys know there is a new release.

Version Numbers.
The kealib version number is structured as MAJOR.MINOR.PATCH
Expand Down

0 comments on commit ef87f84

Please sign in to comment.