File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/bash -xe
2
+
3
+ # *******************************************************************************
4
+ # Copyright (c) 2025, 2025 IBM Hannes Wellmann and others.
5
+ #
6
+ # This program and the accompanying materials
7
+ # are made available under the terms of the Eclipse Public License 2.0
8
+ # which accompanies this distribution, and is available at
9
+ # https://www.eclipse.org/legal/epl-2.0/
10
+ #
11
+ # SPDX-License-Identifier: EPL-2.0
12
+ #
13
+ # Contributors:
14
+ # Hannes Wellmann - initial API and implementation
15
+ # *******************************************************************************
16
+
17
+ # This script is called by the pipeline for preparing the next development cycle (this file's name is crucial!)
18
+ # and applies the changes required individually for SWT.
19
+
20
+ make_common_mak=' bundles/org.eclipse.swt/Eclipse SWT/common/library/make_common.mak'
21
+ source " ${make_common_mak} "
22
+ new_min_ver=$(( min_ver + 1 ))
23
+
24
+ sed -i " ${make_common_mak} " \
25
+ --expression " s|min_ver=${min_ver} |min_ver=${new_min_ver} |g" \
26
+ --expression " s|rev=[0-9]\+|rev=0|g"
27
+
28
+ sed -i ' bundles/org.eclipse.swt/Eclipse SWT PI/common/org/eclipse/swt/internal/Library.java' \
29
+ --expression " s|MINOR_VERSION = ${min_ver} ;|MINOR_VERSION = ${new_min_ver} ;|g" \
30
+ --expression " s|REVISION = [0-9]\+;|REVISION = 0;|g"
31
+
32
+ echo " version ${maj_ver} .${new_min_ver} " > ' bundles/org.eclipse.swt/Eclipse SWT/common/version.txt'
33
+
34
+
35
+ git commit --all --message " Configure SWT build scripts for ${NEXT_RELEASE_VERSION} "
You can’t perform that action at this time.
0 commit comments