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

Feature dtcenter/METplus-Internal#15 checksum for release #1769

Merged
merged 7 commits into from
Sep 8, 2022
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
14 changes: 14 additions & 0 deletions .github/workflows/release-checksum.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Add checksum to release

on:
release:
types:
- published

jobs:
add-checksum:
runs-on: ubuntu-latest
steps:
- uses: dtcenter/metplus-action-release-checksum@v1
with:
token: ${{ secrets.METPLUS_BOT_TOKEN }}
23 changes: 23 additions & 0 deletions docs/Users_Guide/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,29 @@ Get the source code via Web Browser
- Click on the 'Source code' link (either the *zip* or *tar.gz*) under Assets
and when prompted, save it to the directory.

- (Optional) Verify the checksum of the source code download

- Download the checksum file that corresponds to the source code download
link that was used (checksum_zip.txt for the *zip* file and
checksum_tar.txt for the *tar.gz* file).
Put the checksum file into the same directory as the source code file.
- Run the *sha256sum* command with the --check argument to verify that the
source code download file was not corrupted.

Zip File::

sha256sum --check checksum_zip.txt

Tar File::

sha256sum --check checksum_tar.txt

Note: If the source code is downloaded using wget, then the filenames will not
match the filenames listed in the checksum files. If the source code is
downloaded using curl, the *-LJO* flags should be added to the command to
preserve the expected filenames found in the checksum files.


- Uncompress the source code (on Linux/Unix\ *: gunzip* for zip file or
*tar xvfz* for the tar.gz file)

Expand Down
Binary file modified docs/_static/metplus_repo_releases_page.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.