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

Pre-release script fixes #592

Merged
merged 3 commits into from
Mar 24, 2020
Merged

Conversation

krnowak
Copy link
Member

@krnowak krnowak commented Mar 24, 2020

I couldn't run it on my host because of the -i flag incompatibilities between GNU sed and sed used in BSDs or macos. With that fixed, I implemented the missing part of updating the version string in sdk/opentelemetry.go. Also, I had some garbage files in my tree that ended up in the Prepare for releasing vX.Y.Z commit, so I added the code to check if the git repo is in a clean state.

Fixes #581.

krnowak added 3 commits March 24, 2020 18:13
The `-i` sed flag is for doing in-place updates of the file. On some
systems it requires a parameter, on other (GNU) the parameter is
optional, but should be "glued" to the flag (`-i.bak` for example).
That's is problematic, so just emulate the in-place updates with
copies and removals.
This was a missing step, which is why we still have a version string
"0.2.3" while in reality it should be "0.3.0". Hopefully it will be
something to fix in "0.3.1" or what the next release version will be.
The script does `git add .` which adds everything in the tree, even
the untracked files. Make sure that there are none of those.
@rghetia rghetia merged commit dff6265 into open-telemetry:master Mar 24, 2020
@krnowak krnowak deleted the release-fixes branch March 25, 2020 09:13
@pellared pellared added this to the untracked milestone Nov 8, 2024
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.

Version string in sdk/opentelemetry.go needs update
4 participants