Skip to content

Latest commit

 

History

History
49 lines (38 loc) · 1.19 KB

RELEASE.md

File metadata and controls

49 lines (38 loc) · 1.19 KB

Deploy p2 Repository

Create a tag v0.1.0 and push it. GH Action will create a p2 repository and publish it to GH Pages:

https://typefox.github.io/xtext2langium/download/updates/v0.1.0/

Maven Deploy locally

Setup your local settings.xml
<servers>
    <server>
        <id>OSSRH</id>
        <username>USER_NAME</username>
        <password>PASSWORD</password>
    </server>
</servers>
<!-- Only needed for release deployment --> 
<profiles>
    <profile>
        <id>OSSRH</id>
        <activation>
            <activeByDefault>true</activeByDefault>
        </activation>
        <properties>
            <gpg.executable>/usr/local/bin/gpg</gpg.executable>
            <gpg.keyname>KEY_ID</gpg.keyname>
            <gpg.passphrase>KEY_PASSWORD</gpg.passphrase>
        </properties>
    </profile>
</profiles>
Deploy a SNAPSHOT

Run mvn clean deploy

Note: Current setup requires Java11

Deploy a RELEASE

Set the new version mvn org.eclipse.tycho:tycho-versions-plugin:2.7.5:set-version -DnewVersion=0.1.0

Start deployment mvn clean deploy -P release

Check the status of the staged repository and release oss.sonatype.org