Skip to content

Conversation

@afterdusk
Copy link
Member

Updates our deploy script to handle pre-release version strings. Without it, our deploy script currently hangs with the following log:

...
Available akd_core versions: "0.8.0" "0.8.2" "0.8.3" "0.8.4" "0.8.5" "0.8.6" "0.8.7" "0.8.8" "0.8.9" "0.9.0" "0.10.0" "0.11.0" "0.12.0-pre.1" 
Expected version of akd_core (0.12.0) is not yet published. Retrying after a wait
...

Also bumps our version to 0.12.0-pre.2 to re-attempt deploy.

Regex Test

% echo "0.11" | grep -o '[0-9]\.[0-9\.]\+\(-pre\.[0-9]\+\)\?'  
0.11

% echo "0.11.1" | grep -o '[0-9]\.[0-9\.]\+\(-pre\.[0-9]\+\)\?' 
0.11.1

% echo "0.11.11" | grep -o '[0-9]\.[0-9\.]\+\(-pre\.[0-9]\+\)\?' 
0.11.11

% echo "0.11-pre.1" | grep -o '[0-9]\.[0-9\.]\+\(-pre\.[0-9]\+\)\?' 
0.11-pre.1

% echo "0.11.0-pre.12" | grep -o '[0-9]\.[0-9\.]\+\(-pre\.[0-9]\+\)\?' 
0.11.0-pre.12

@afterdusk afterdusk requested review from kevinlewi and slawlor March 27, 2024 01:36
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Mar 27, 2024
Copy link
Contributor

@kevinlewi kevinlewi left a comment

Choose a reason for hiding this comment

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

Thanks!

@codecov-commenter
Copy link

codecov-commenter commented Mar 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.57%. Comparing base (493c9bc) to head (274bb88).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #431      +/-   ##
==========================================
- Coverage   88.58%   88.57%   -0.02%     
==========================================
  Files          39       39              
  Lines        9077     9077              
==========================================
- Hits         8041     8040       -1     
- Misses       1036     1037       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@afterdusk afterdusk merged commit 0094631 into facebook:main Mar 27, 2024
@afterdusk afterdusk deleted the deploy-script branch March 27, 2024 03:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants