Skip to content

Commit

Permalink
Prepare for 0.19.1 development
Browse files Browse the repository at this point in the history
Part of #719
  • Loading branch information
jonahgraham committed Apr 11, 2023
1 parent 0699a79 commit 6646292
Show file tree
Hide file tree
Showing 11 changed files with 44 additions and 36 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@ Breaking API changes:

Nightly japicmp report: <https://download.eclipse.org/lsp4j/builds/main/japicmp-report/>

### [v0.19.1 (April 2023)](https://github.com/eclipse/lsp4j/releases/tag/v0.19.1)

Fixed issues: <https://github.com/eclipse/lsp4j/milestone/30?closed=1>

Breaking API changes:

japicmp report: <https://download.eclipse.org/lsp4j/updates/releases/0.19.1/japicmp-report/>

### [v0.19.0 (November 2022)](https://github.com/eclipse/lsp4j/releases/tag/v0.19.0)

Fixed issues: <https://github.com/eclipse/lsp4j/milestone/26?closed=1>
Expand Down
14 changes: 7 additions & 7 deletions documentation/releasing.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This is the Release plan and TODO list for LSP4J release v0.19.0.
This is the Release plan and TODO list for LSP4J release v0.19.1.

## Steps for Release

Expand All @@ -11,7 +11,7 @@ Items at the beginning of development
- [ ] Create a [New milestone](https://github.com/eclipse/lsp4j/milestones/new) for the release
- [ ] Check [CHANGELOG.md](https://github.com/eclipse/lsp4j/blob/main/CHANGELOG.md) is up to date. The changelog should have a version entry, release date, API Breakages and other information consistent with current entries in the changelog.
- [ ] Check [README.md](https://github.com/eclipse/lsp4j/blob/main/README.md) is up to date. In particular that the planned release and which versions of DAP and LSP are support is listed.
- [ ] Increment version of all feature.xml, pom.xml and any other place full version is used. (Easiest way is global find and replace, e.g. `s/0.18.0/0.19.0/g`, `s/0.17.0/0.18.0/g` and review changes.) Ensure that `-SNAPSHOT` is restored in the [gradle/versions.gradle](https://github.com/eclipse/lsp4j/blob/main/gradle/versions.gradle) and [releng/pom.xml](https://github.com/eclipse/lsp4j/blob/main/releng/pom.xml)
- [ ] Increment version of all feature.xml, pom.xml and any other place full version is used. (Easiest way is global find and replace, e.g. `s/0.19.0/0.19.1/g`, `s/0.18.0/0.19.0/g` and review changes.) Ensure that `-SNAPSHOT` is restored in the [gradle/versions.gradle](https://github.com/eclipse/lsp4j/blob/main/gradle/versions.gradle) and [releng/pom.xml](https://github.com/eclipse/lsp4j/blob/main/releng/pom.xml)
- [ ] Enable `sh './releng/deploy-build.sh'` in [releng/build.Jenkinsfile](https://github.com/eclipse/lsp4j/blob/main/releng/build.Jenkinsfile)
- [ ] Ensure [the CI build](https://ci.eclipse.org/lsp4j/job/lsp4j-multi-build/job/main/) is stable - it is always better to release a "Green Dot" build

Expand All @@ -34,13 +34,13 @@ Items on Release day:
- see commit https://github.com/eclipse/lsp4j/commit/328ce8a4c89b0cd84fb62118f459b6cf79b09e90 for a past example
- [ ] Push the above change
- [ ] Run [the CI build](https://ci.eclipse.org/lsp4j/job/lsp4j-multi-build/job/main/)
- [ ] Mark the build as Keep Forever and add to the description `v0.19.0`
- [ ] Mark the build as Keep Forever and add to the description `v0.19.1`
- [ ] Deploy the release by running [the Release CI job](https://ci.eclipse.org/lsp4j/job/lsp4j-release-eclipse) with parameters:
- `LSP4J_PUBLISH_LOCATION` -> `updates/releases/0.19.0` ( <-- check version number)
- `LSP4J_PUBLISH_LOCATION` -> `updates/releases/0.19.1` ( <-- check version number)
- `PROJECT` -> `lsp4j-multi-build/job/main`
- `LSP4J_BUILD_NUMBER` -> the build that was just run above
- `DRY_RUN` -> `false`
- [ ] Add to the deploy job description `v0.19.0`
- [ ] Add to the deploy job description `v0.19.1`
- [ ] Promote the staged repository to maven central
- [Login to Nexus](https://oss.sonatype.org/#stagingRepositories)
- To obtain permission add request to [OSSRH-26079](https://issues.sonatype.org/browse/OSSRH-26079)
Expand All @@ -50,10 +50,10 @@ Items on Release day:
- once the rules are done (if successful), press the *Release* button (you may need to press *Refresh* to enable the *Release* button)
- check https://search.maven.org/search?q=g:org.eclipse.lsp4j to make sure the latest release has arrived - this takes a while, 15 minutes for the files to be [on the server](https://repo1.maven.org/maven2/org/eclipse/lsp4j/) and even longer for the [search indexes](https://search.maven.org/search?q=g:org.eclipse.lsp4j) to update
- [ ] Update the meta-data on [PMI downloads page](https://projects.eclipse.org/projects/technology.lsp4j/downloads)
- [ ] Tag the release. Example: `git tag -a v0.19.0 HEAD -m"LSP4J 0.19.0" && git push origin v0.19.0`
- [ ] Tag the release. Example: `git tag -a v0.19.1 HEAD -m"LSP4J 0.19.1" && git push origin v0.19.1`
- [ ] Contribute to Simrel. See [Simrel contribution example](https://git.eclipse.org/r/#/c/158624/)
- [ ] Create a [release page on github](https://github.com/eclipse/lsp4j/releases/new)
- [ ] Link the Changelog to the release page
- [ ] Make an announcement on lsp4j-dev based on the [release page on github](https://github.com/eclipse/lsp4j/releases/tag/v0.19.0). [Example on lsp4j-dev archives](https://www.eclipse.org/lists/lsp4j-dev/msg00063.html)
- [ ] Make an announcement on lsp4j-dev based on the [release page on github](https://github.com/eclipse/lsp4j/releases/tag/v0.19.1). [Example on lsp4j-dev archives](https://www.eclipse.org/lists/lsp4j-dev/msg00063.html)
- [ ] Update [documentation/releasing.md](https://github.com/eclipse/lsp4j/blob/main/documentation/releasing.md) with any changes that may have been made to the release process.
- [ ] Create the endgame for the next release right away, especially as version numbers and restoring `-SNAPSHOT` need to be done right away.
2 changes: 1 addition & 1 deletion gradle/versions.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause
******************************************************************************/

version = '0.19.0'
version = '0.19.1-SNAPSHOT'

ext.versions = [
'xtend_lib': '2.28.0',
Expand Down
2 changes: 1 addition & 1 deletion releng/build.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ pipeline {
// XXX: Can release vs snapshot be detected automatically so that
// the following line does not have to be commented/uncommented
// on each change to/from SNAPSHOT?
// sh './releng/deploy-build.sh'
sh './releng/deploy-build.sh'
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion releng/lsp4j-feature/feature.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<feature
id="org.eclipse.lsp4j.sdk"
label="LSP4J SDK"
version="0.19.0.qualifier"
version="0.19.1.qualifier"
provider-name="Eclipse LSP4J"
license-feature="org.eclipse.license"
license-feature-version="0.0.0">
Expand Down
2 changes: 1 addition & 1 deletion releng/lsp4j-feature/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>org.eclipse.lsp4j</groupId>
<artifactId>lsp4j.releng</artifactId>
<version>0.19.0-SNAPSHOT</version>
<version>0.19.1-SNAPSHOT</version>
<relativePath>..</relativePath>
</parent>
</project>
2 changes: 1 addition & 1 deletion releng/p2/category.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<site>
<feature id="org.eclipse.lsp4j.sdk" version="0.19.0.qualifier">
<feature id="org.eclipse.lsp4j.sdk" version="0.19.1.qualifier">
<category name="lsp4j"/>
</feature>
<bundle id="com.google.gson" version="2.9.1.qualifier"/>
Expand Down
10 changes: 5 additions & 5 deletions releng/p2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>org.eclipse.lsp4j</groupId>
<artifactId>lsp4j.releng</artifactId>
<version>0.19.0-SNAPSHOT</version>
<version>0.19.1-SNAPSHOT</version>
<relativePath>..</relativePath>
</parent>

Expand Down Expand Up @@ -48,12 +48,12 @@
<fileset dir="${basedir}/target/repository/" />
</copy>
<copy
file="${basedir}/target/lsp4j.p2-repository-0.19.0-SNAPSHOT.zip"
tofile="${root-dir}/build/p2-repository/../lsp4j.p2-repository-0.19.0-SNAPSHOT.zip">
file="${basedir}/target/lsp4j.p2-repository-0.19.1-SNAPSHOT.zip"
tofile="${root-dir}/build/p2-repository/../lsp4j.p2-repository-0.19.1-SNAPSHOT.zip">
</copy>
<copy
file="${basedir}/target/lsp4j.p2-repository-0.19.0-SNAPSHOT.zip"
tofile="${root-dir}/build/p2-repository/v0.19.0.zip">
file="${basedir}/target/lsp4j.p2-repository-0.19.1-SNAPSHOT.zip"
tofile="${root-dir}/build/p2-repository/v0.19.1.zip">
</copy>
</tasks>
</configuration>
Expand Down
32 changes: 16 additions & 16 deletions releng/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>org.eclipse.lsp4j</groupId>
<artifactId>lsp4j.releng</artifactId>
<version>0.19.0-SNAPSHOT</version>
<version>0.19.1-SNAPSHOT</version>
<packaging>pom</packaging>

<properties>
Expand All @@ -29,29 +29,29 @@
<dependency>
<groupId>org.eclipse.lsp4j</groupId>
<artifactId>org.eclipse.lsp4j</artifactId>
<version>0.19.0</version>
<version>0.19.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.eclipse.lsp4j</groupId>
<artifactId>org.eclipse.lsp4j</artifactId>
<version>0.19.0</version>
<version>0.19.1-SNAPSHOT</version>
<classifier>sources</classifier>
</dependency>
<dependency>
<groupId>org.eclipse.lsp4j</groupId>
<artifactId>org.eclipse.lsp4j.debug</artifactId>
<version>0.19.0</version>
<version>0.19.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.eclipse.lsp4j</groupId>
<artifactId>org.eclipse.lsp4j.debug</artifactId>
<version>0.19.0</version>
<version>0.19.1-SNAPSHOT</version>
<classifier>sources</classifier>
</dependency>
<dependency>
<groupId>org.eclipse.lsp4j</groupId>
<artifactId>org.eclipse.lsp4j.generator</artifactId>
<version>0.19.0</version>
<version>0.19.1-SNAPSHOT</version>
<exclusions>
<exclusion>
<groupId>com.google</groupId>
Expand All @@ -62,51 +62,51 @@
<dependency>
<groupId>org.eclipse.lsp4j</groupId>
<artifactId>org.eclipse.lsp4j.generator</artifactId>
<version>0.19.0</version>
<version>0.19.1-SNAPSHOT</version>
<classifier>sources</classifier>
</dependency>
<dependency>
<groupId>org.eclipse.lsp4j</groupId>
<artifactId>org.eclipse.lsp4j.jsonrpc</artifactId>
<version>0.19.0</version>
<version>0.19.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.eclipse.lsp4j</groupId>
<artifactId>org.eclipse.lsp4j.jsonrpc</artifactId>
<version>0.19.0</version>
<version>0.19.1-SNAPSHOT</version>
<classifier>sources</classifier>
</dependency>
<dependency>
<groupId>org.eclipse.lsp4j</groupId>
<artifactId>org.eclipse.lsp4j.jsonrpc.debug</artifactId>
<version>0.19.0</version>
<version>0.19.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.eclipse.lsp4j</groupId>
<artifactId>org.eclipse.lsp4j.jsonrpc.debug</artifactId>
<version>0.19.0</version>
<version>0.19.1-SNAPSHOT</version>
<classifier>sources</classifier>
</dependency>
<dependency>
<groupId>org.eclipse.lsp4j</groupId>
<artifactId>org.eclipse.lsp4j.websocket.jakarta</artifactId>
<version>0.19.0</version>
<version>0.19.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.eclipse.lsp4j</groupId>
<artifactId>org.eclipse.lsp4j.websocket.jakarta</artifactId>
<version>0.19.0</version>
<version>0.19.1-SNAPSHOT</version>
<classifier>sources</classifier>
</dependency>
<dependency>
<groupId>org.eclipse.lsp4j</groupId>
<artifactId>org.eclipse.lsp4j.websocket</artifactId>
<version>0.19.0</version>
<version>0.19.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.eclipse.lsp4j</groupId>
<artifactId>org.eclipse.lsp4j.websocket</artifactId>
<version>0.19.0</version>
<version>0.19.1-SNAPSHOT</version>
<classifier>sources</classifier>
</dependency>
</dependencies>
Expand Down Expand Up @@ -136,7 +136,7 @@
<groupId>org.eclipse.lsp4j</groupId>
<artifactId>lsp4j.target</artifactId>
<!-- This version stays as -SNAPSHOT even for release builds. See releasing.md -->
<version>0.19.0-SNAPSHOT</version>
<version>0.19.1-SNAPSHOT</version>
</artifact>
</target>
<environments>
Expand Down
4 changes: 2 additions & 2 deletions releng/release-eclipse.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ pipeline {
}
parameters {
booleanParam(defaultValue: true, description: 'Do a dry run of the build. All commands will be echoed. First run with this on, then when you are sure it is right, choose rebuild in the passing job and uncheck this box', name: 'DRY_RUN')
string(defaultValue: 'updates/milestones/S201911261515', description: 'The relative path in LSP4J downloads area to publish promoted build to (e.g. updates/milestones/S201911261515, updates/releases/0.19.0)', name: 'LSP4J_PUBLISH_LOCATION')
string(defaultValue: 'lsp4j-multi-build/job/main', description: 'The LSP4J project name being promoted from (e.g. lsp4j-multi-build/job/main or lsp4j-multi-build/job/release_0.19.0).', name: 'PROJECT')
string(defaultValue: 'updates/milestones/S201911261515', description: 'The relative path in LSP4J downloads area to publish promoted build to (e.g. updates/milestones/S201911261515, updates/releases/0.19.1)', name: 'LSP4J_PUBLISH_LOCATION')
string(defaultValue: 'lsp4j-multi-build/job/main', description: 'The LSP4J project name being promoted from (e.g. lsp4j-multi-build/job/main or lsp4j-multi-build/job/release_0.19.1).', name: 'PROJECT')
string(defaultValue: '12345', description: 'The CI build number being promoted from', name: 'LSP4J_BUILD_NUMBER')
}
stages {
Expand Down
2 changes: 1 addition & 1 deletion releng/releng-target/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>org.eclipse.lsp4j</groupId>
<artifactId>lsp4j.releng</artifactId>
<version>0.19.0-SNAPSHOT</version>
<version>0.19.1-SNAPSHOT</version>
<relativePath>..</relativePath>
</parent>
</project>

0 comments on commit 6646292

Please sign in to comment.