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 Request] Please add extended install/release instructions with hash-values #41

Open
jammsen opened this issue Jan 28, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@jammsen
Copy link

jammsen commented Jan 28, 2024

Hey @outdead how are you?

I would love to see extended install instructions in the release informations.
Here is an example of what i mean by that:
Supercronic ( https://github.com/aptible/supercronic/releases ) goes the "Ansible-check" way which is very helpful, to make sure you get what you wanted, because you can check the hashsum, and if by any chance thats wrong your ci-pipeline fails on purpose.

Would you be able to add extended install/release/package informations to your releases please?

@jammsen
Copy link
Author

jammsen commented Jan 29, 2024

Something like this:

# Latest releases available at https://github.com/gorcon/rcon-cli/releases
ENV RCON_URL=https://github.com/gorcon/rcon-cli/releases/download/v0.10.3/rcon-0.10.3-amd64_linux.tar.gz \
    RCON_TGZ=rcon-0.10.3-amd64_linux.tar.gz \
    RCON_TGZ_MD5SUM=8601c70dcab2f90cd842c127f700e398 \
    RCON_BINARY=rcon

RUN curl -fsSLO "$RCON_URL" \
    && echo "${RCON_TGZ_MD5SUM} ${RCON_TGZ}" | md5sum -c - \
    && tar xfz rcon-0.10.3-amd64_linux.tar.gz \
    && chmod +x "rcon-0.10.3-amd64_linux/$RCON_BINARY" \
    && mv "rcon-0.10.3-amd64_linux/$RCON_BINARY" "/usr/local/bin/${RCON_BINARY}" \
    && ln -s "/usr/local/bin/${RCON_BINARY}" /usr/local/bin/rconcli \
    && rm -Rf rcon-0.10.3-amd64_linux rcon-0.10.3-amd64_linux.tar.gz

@outdead outdead added the enhancement New feature or request label Feb 3, 2024
@outdead outdead self-assigned this Feb 5, 2024
@outdead
Copy link
Member

outdead commented Feb 5, 2024

Hi! Great issue. Thanks! I'll add this to current release info (and to future releases to)

@jammsen
Copy link
Author

jammsen commented Feb 5, 2024

Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants