Skip to content

Conversation

@theorashid
Copy link
Contributor

This is for #5570. cc @twiecki @michaelosthege

grep 'version' pymc/__init__.py pulls out the line __version__ = "4.0.0b3"

awk '{print $3}' takes "4.0.0b3"

tr -d '" trims to 4.0.0b3.

Note this only works if __init__.py stays in its current format.

@theorashid theorashid changed the title use grep from __init__.py to get version Fixing the version number for the test in nightly.yml Mar 9, 2022
@codecov
Copy link

codecov bot commented Mar 9, 2022

Codecov Report

Merging #5571 (02cbf29) into main (620b11d) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #5571   +/-   ##
=======================================
  Coverage   88.13%   88.13%           
=======================================
  Files          81       81           
  Lines       14238    14238           
=======================================
  Hits        12549    12549           
  Misses       1689     1689           

Copy link
Member

@michaelosthege michaelosthege left a comment

Choose a reason for hiding this comment

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

Looks good to me.
I have 0 bash skills though, I hope you tested that expression 😄

@twiecki twiecki merged commit 44c5495 into pymc-devs:main Mar 10, 2022
@twiecki
Copy link
Member

twiecki commented Mar 10, 2022

Let's see.

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