File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 1616
1717# This script is called by the pipeline for preparing the next development cycle (this file's name is crucial!)
1818# and applies the changes required individually for SWT.
19+ # The calling pipeline also defines environment variables usable in this script.
1920
2021make_common_mak=' bundles/org.eclipse.swt/Eclipse SWT/common/library/make_common.mak'
2122source " ${make_common_mak} "
2223new_min_ver=$(( min_ver + 1 ))
2324
2425sed -i " ${make_common_mak} " \
2526 --expression " s|min_ver=${min_ver} |min_ver=${new_min_ver} |g" \
26- --expression " s|rev=[0-9]\+|rev=0|g"
27+ --expression " s|rev=[0-9]\+|rev=0|g" \
28+ --expression " s|2000, [0-9]\{4\}|2000, ${NEXT_RELEASE_YEAR} |g"
2729
2830sed -i ' bundles/org.eclipse.swt/Eclipse SWT PI/common/org/eclipse/swt/internal/Library.java' \
2931 --expression " s|MINOR_VERSION = ${min_ver} ;|MINOR_VERSION = ${new_min_ver} ;|g" \
30- --expression " s|REVISION = [0-9]\+;|REVISION = 0;|g"
32+ --expression " s|REVISION = [0-9]\+;|REVISION = 0;|g" \
33+ --expression " s|2000, [0-9]\{4\}|2000, ${NEXT_RELEASE_YEAR} |g"
3134
3235echo " version ${maj_ver} .${new_min_ver} " > ' bundles/org.eclipse.swt/Eclipse SWT/common/version.txt'
3336
You can’t perform that action at this time.
0 commit comments