Skip to content

feat: add optional version arg to install scripts #155

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

Merged
merged 1 commit into from
Jan 24, 2025

Conversation

obs-gh-mattcotter
Copy link
Collaborator

@obs-gh-mattcotter obs-gh-mattcotter commented Jan 23, 2025

Description

OB-40308 add optional version arg to install scripts. This will allow our old Host Quickstart app installation instructions to be pinned to an older version as we update the agent.

Example usage:

PS C:\Users\Administrator\Downloads> .\install.ps1 -version 1.4.0

PS C:\Users\Administrator\Downloads> & 'C:\Program Files\Observe\observe-agent\observe-agent.exe' version
Using config file: C:\Program Files\Observe\observe-agent\observe-agent.yaml
observe-agent version: 1.4.0
$ bash ./scripts/install_mac.sh --version 1.5.0
Downloading version 1.5.0 from GitHub...
# ...

$ observe-agent version
observe-agent version: 1.5.0
observe-agent config file: /usr/local/observe-agent/observe-agent.yaml

Checklist

  • Created tests which fail without the change (if possible)
  • Extended the README / documentation, if necessary

@obs-gh-mattcotter obs-gh-mattcotter merged commit 3ddd945 into main Jan 24, 2025
8 checks passed
@obs-gh-mattcotter obs-gh-mattcotter deleted the OB-40308-install-agent-version branch January 24, 2025 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants