-
Notifications
You must be signed in to change notification settings - Fork 41
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
chore: add apache-release.sh & prepare release #218
Conversation
0bc76a9
to
90154aa
Compare
Codecov Report
@@ Coverage Diff @@
## master #218 +/- ##
=========================================
Coverage 85.74% 85.74%
+ Complexity 3231 3230 -1
=========================================
Files 344 344
Lines 12079 12079
Branches 1087 1087
=========================================
Hits 10357 10357
+ Misses 1195 1194 -1
- Partials 527 528 +1
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
f9bff17
to
4fb79be
Compare
8458545
to
3a111d7
Compare
04871ec
to
c38695d
Compare
# git release branch (check it carefully) | ||
GIT_BRANCH="release-${RELEASE_VERSION}" | ||
GIT_BRANCH="$(git branch --show-current)" |
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.
seems a little dangerous when upload with a wrong branch? or check the branch-name
below?
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.
ok
.gitattributes
Outdated
assembly/ export-ignore | ||
computer-dist/src/assembly/ export-ignore | ||
computer-k8s-operator/crd-generate/bin/ export-ignore | ||
logs/ export-ignore |
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.
if logs
ignored in .gitignore
already, it won't be packaged by default
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 see
c38695d
to
25e771a
Compare
if [ "$USERNAME" = "" ]; then | ||
svn commit -m "submit files for ${REPO} ${RELEASE_VERSION}" | ||
else | ||
svn commit -m "submit files for ${REPO} ${RELEASE_VERSION}" --username ${USERNAME} --password ${PASSWORD} |
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.
- double quota for $username & $password
- use 2 spaces instead of 4 before
svn
if [ "$USERNAME" = "" ]; then
svn commit -m "submit files for ${REPO} ${RELEASE_VERSION}"
else
svn commit -m "submit files for ${REPO} ${RELEASE_VERSION}" --username "${USERNAME}" --password "${PASSWORD}"
fi
da3dbce
to
08c1b6a
Compare
a0bf049
to
3360aaf
Compare
3360aaf
to
e806302
Compare
update the commit log & use |
use rebase merge to keep the commit after #217
Remember rename current branch to
release-1.0.0
first (for script running):git branch -m before-release release-1.0.0
and @coderzc keep test & update the script (ammend to the 4th commit) to keep commit clean
other chore: