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

Install script in release #25

Merged
merged 3 commits into from
Nov 19, 2024
Merged

Install script in release #25

merged 3 commits into from
Nov 19, 2024

Conversation

unflxw
Copy link
Contributor

@unflxw unflxw commented Nov 19, 2024

This is a step towards #19.

[skip changeset] -- will merge without review.

Add installation script to release

Currently, the installation script referenced in the README.md is
the one currently available in the main branch. This means that,
if we were to change the installation script in the main branch,
in concordance with a different change that was not yet released,
the README would point to an installation script that might not
work correctly with the latest release.

To fix this, make the installation script part of the release
itself.

Hardcode version number in install script

Since the installation script for each release will now be part of
the release itself, it makes sense for the installation script to
attempt to install the release that it was part of, rather than the
latest available release.

Improve install script version output

Say "latest version" if APPSIGNAL_WRAP_VERSION=latest, but
otherwise say "version 0.1.1". Less Yoda-esque.

Currently, the installation script referenced in the README.md is
the one currently available in the `main` branch. This means that,
if we were to change the installation script in the `main` branch,
in concordance with a different change that was not yet released,
the README would point to an installation script that might not
work correctly with the latest release.

To fix this, make the installation script part of the release
itself.
Since the installation script for each release will now be part of
the release itself, it makes sense for the installation script to
attempt to install the release that it was part of, rather than the
latest available release.
Say "latest version" if `APPSIGNAL_WRAP_VERSION=latest`, but
otherwise say "version 0.1.1". Less Yoda-esque.
@unflxw unflxw added the chore label Nov 19, 2024
@unflxw unflxw self-assigned this Nov 19, 2024
@unflxw unflxw merged commit 90668c3 into main Nov 19, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant