File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414
1515RELEASE_SCRIPT=" $BASE_DIR /scijava-scripts/release-version.sh"
1616
17- $RELEASE_SCRIPT --skip-push --skip-gpg --skip-license-update
17+ # ############# ONLY FOR PRE-RELEASES ##############
18+ PRE_RELEASE=" 1.5.0.a17" # <-- adjust this to the desired version
19+ EXTRA_FLAGS=" --skip-branch-check --skip-version-check $PRE_RELEASE "
20+ # ############# ONLY FOR PRE-RELEASES ##############
21+
22+ $RELEASE_SCRIPT --skip-push --skip-gpg --skip-license-update $EXTRA_FLAGS
1823```
1924
20- ** IMPORTANT** : after the release has been built, the corresponding tag needs to
21- be pushed to github, e.g. like this:
25+ ** IMPORTANT 1 ** : after the release has been built, the corresponding tag needs
26+ to be pushed to github, e.g. like this:
2227
2328``` bash
2429RELEASE_TAG=$( git tag -l " python-imcflibs-*" | tail -n 1)
2530git push origin $RELEASE_TAG
2631```
2732
33+ ** IMPORTANT 2** : in case a ** pre-releaes** was created, the last commit needs to
34+ be discarded as the _ release-script_ places a wrong version / snapshot
35+ combination in the ` pom.xml ` :
36+
37+ ``` bash
38+ git reset --hard HEAD~1
39+ ```
40+
2841## Build & Deploy with Maven using VS Code
2942
3043Building and deploying the package can be greatly simplified using "tasks" in
You can’t perform that action at this time.
0 commit comments