Skip to content

[AM] Use a release version that strips ".dev#"#114

Merged
amackillop merged 4 commits intomasterfrom
am-atlas-installer-version-fix
Mar 26, 2020
Merged

[AM] Use a release version that strips ".dev#"#114
amackillop merged 4 commits intomasterfrom
am-atlas-installer-version-fix

Conversation

@amackillop
Copy link
Copy Markdown
Contributor

For Reviewer:
I feel like we can get rid of the export on line 3 as well. Will do that when everything passes with the current change.

#!/bin/bash

export build_version=$(python get_version.py)
release_version=$(echo $build_version | sed "s/.dev[0-9]*//")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the change is great ... I like the option to use regex to get rid of the dev from the version ... I think @amackillop you should also consider that there are several things that use this version strategy ... I'm wondering what else this will impact....

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This particular change only seems to impact which URL is used in the installer to download the release from github. I left the exporting of the original build version in case that is pulled from somewhere later but I don't think that it is.

@amackillop amackillop merged commit c29269d into master Mar 26, 2020
@mohammedri mohammedri deleted the am-atlas-installer-version-fix branch March 26, 2020 17:33
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.

3 participants