Skip to content

Commit

Permalink
fix build instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Gubaer committed Sep 16, 2023
1 parent 68e87e3 commit 871f729
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions how-to-build.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
# Deploy and publish

1. Create a new entry at the top of `releases.yml`. Example:

```yml
releases:
# mandatory: choose a new release label
Expand All @@ -18,30 +17,17 @@
description: fixes issue #14
```
2. Make sure the build parameters in `build.gradle` are up to date

```gradle
// the same label as in releases.yml
version="v0.0.20"
josm {
manifest {
// the same version as in releases.yml
minJosmVersion = 12345
...
```

3. Create the GitHub release for the current release label
1. Create the GitHub release for the current release label
```bash
$ ./gradlew createGithubRelease
```

4. Build the plugin
1. Build the plugin
```bash
$ ./gradlew clean build
```

4. Publish the plugin to the Github releases
1. Publish the plugin to the Github releases

The plugin is published to the release for the current release label.

Expand Down

0 comments on commit 871f729

Please sign in to comment.