Skip to content

Commit

Permalink
eclipse cdt re-publishing: remove original signature (#5170)
Browse files Browse the repository at this point in the history
Co-authored-by: Max Leuthäuser <[email protected]>
  • Loading branch information
mpollmeier and max-leuthaeuser authored Dec 9, 2024
1 parent 982e7ee commit 582ede4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ set -o pipefail

# adapt for every release
JAR_URL='https://ci.eclipse.org/cdt/job/cdt/job/main/452/artifact/releng/org.eclipse.cdt.repo/target/repository/plugins/org.eclipse.cdt.core_8.5.0.202410191453.jar'
CUSTOM_RELEASE_VERSION='8.5.0.202410191453'
CUSTOM_RELEASE_VERSION='8.5.0.202410191453+2'

LOCAL_JAR="org.eclipse.cdt.core-$CUSTOM_RELEASE_VERSION.jar"
echo "downloading jar from $JAR_URL to $LOCAL_JAR"
Expand All @@ -28,7 +28,8 @@ rm -rf build
mkdir build
sed s/__VERSION__/$CUSTOM_RELEASE_VERSION/ pom.xml.template > build/pom.xml
mkdir -p build/src/main/resources
unzip -d build/src/main/resources $LOCAL_JAR
unzip -d build/src/main/resources $LOCAL_JAR \
-x 'META-INF/*.RSA' 'META-INF/*.SF' # remove original signing information, otherwise the jar is unusable because the signature doesn't match

# add an empty dummy class in order to generate sources and javadoc jars
mkdir -p build/src/main/java
Expand Down
6 changes: 3 additions & 3 deletions project/Versions.scala
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ object Versions {
val commonsIo = "2.16.0"
val commonsLang = "3.14.0"
val commonsText = "1.12.0"
val eclipseCdt = "8.4.0.202401242025"
val eclipseCore = "3.20.100"
val eclipseText = "3.14.0"
val eclipseCdt = "8.5.0.202410191453+2"
val eclipseCore = "3.22.0"
val eclipseText = "3.14.200"
val ghidra = "11.2.1_PUBLIC_20241105-7"
val gradleTooling = "8.3"
val jacksonDatabind = "2.17.0"
Expand Down

0 comments on commit 582ede4

Please sign in to comment.