-
Notifications
You must be signed in to change notification settings - Fork 3
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
Use tag instead of main branch when importing tokens #57
base: main
Are you sure you want to change the base?
Conversation
Also do not clone the whole project, but just the tag.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #57 +/- ##
=======================================
Coverage 85.72% 85.72%
=======================================
Files 23 23
Lines 2725 2725
Branches 224 224
=======================================
Hits 2336 2336
Misses 181 181
Partials 208 208 ☔ View full report in Codecov by Sentry. |
BRANCH='main' | ||
SHORT=t,: | ||
LONG=tag,: | ||
TAG='v1.4.0' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wait, are we sure about this? I'd either set main
as default or force the user to input a tag.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that to properly handle https://element-io.atlassian.net/browse/PSB-700 we should just have an hard-coded value of the tag somewhere and not allow passing it as command line parameter, to avoid any mistake. WDYT @giomfo
esac | ||
done | ||
|
||
echo "Branch used: $BRANCH" | ||
echo "Tag used: $TAG" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe use 'Ref' instead of tag?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, maybe...
In order to ensure traceability of the token version used per release, use a tag to import the Compound tokens.
Note that it's still possible to use a branch name for testing purpose only.
Also change
vector-im
toelement-hq
in the whole project.Related to https://element-io.atlassian.net/browse/PSB-700