Skip to content

Commit 6f16a39

Browse files
committed
Bump version and don't mention snapshots in README
1 parent 4708ece commit 6f16a39

File tree

2 files changed

+14
-54
lines changed

2 files changed

+14
-54
lines changed

README.md

Lines changed: 12 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -39,21 +39,18 @@ As a shortcut, the wrapper for all platforms can be found
3939

4040
It should be up-to-date with the latest async-profiler release, but if not, feel free to create an issue.
4141

42-
To use the library as a dependency, you can depend on `me.bechberger.ap-loader:<version>-<ap-loader-version>-<variant>-SNAPSHOT`
43-
from the [Sonatype OSS repository](https://s01.oss.sonatype.org/content/repositories/snapshots).
44-
See [#usage-in-java-code](Usage in Java Code) for more information. The current ap-loader version is `4`.
45-
46-
Or you can depend on the artifacts from maven central, they should be slightly more stable:
42+
To use the library as a dependency, you can depend on `me.bechberger.ap-loader-<variant>:<version>-<ap-loader-version>`
43+
from maven central, e.g:
4744

4845
```xml
4946
<dependency>
5047
<groupId>me.bechberger</groupId>
5148
<artifactId>ap-loader-all</artifactId>
52-
<version>2.9-5</version>
49+
<version>2.9-6</version>
5350
</dependency>
5451
```
5552

56-
Others are of course available, see [maven central](https://central.sonatype.com/artifact/me.bechberger/ap-loader-all/2.9-5).
53+
Others are of course available, see [maven central](https://central.sonatype.com/artifact/me.bechberger/ap-loader-all/2.9-6).
5754

5855
You can also use [JBang](https://jbang.dev) to simplify the usage of ap-loader. There are examples in documentation below.
5956

@@ -233,48 +230,10 @@ The latest `all` version can be added via:
233230
<dependency>
234231
<groupId>me.bechberger</groupId>
235232
<artifactId>ap-loader-all</artifactId>
236-
<version>2.9-5</version>
237-
</dependency>
238-
```
239-
240-
### Snapshots
241-
242-
```xml
243-
<dependency>
244-
<groupId>me.bechberger</groupId>
245-
<artifactId>ap-loader-variant</artifactId>
246-
<version>version-SNAPSHOT</version>
233+
<version>2.9-6</version>
247234
</dependency>
248235
```
249236
250-
For example for the `all` variant of version 2.9:
251-
252-
```xml
253-
<dependency>
254-
<groupId>me.bechberger</groupId>
255-
<artifactId>ap-loader-all</artifactId>
256-
<version>2.9-5-SNAPSHOT</version>
257-
</dependency>
258-
```
259-
260-
You also have to add the snapshot repository:
261-
262-
```xml
263-
264-
<repositories>
265-
<repository>
266-
<id>snapshots</id>
267-
<url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
268-
<releases>
269-
<enabled>false</enabled>
270-
</releases>
271-
<snapshots>
272-
<enabled>true</enabled>
273-
</snapshots>
274-
</repository>
275-
</repositories>
276-
```
277-
278237
Build and test
279238
--------------
280239
@@ -290,11 +249,11 @@ python3 ./bin/releaser.py download 2.9
290249
# build the JAR for the release
291250
# maven might throw warnings, related to the project version setting,
292251
# but the alternative solutions don't work, so we ignore the warning for now
293-
mvn -Dproject.vversion=2.9 -Dproject.subrelease=5 -Dproject.platform=macos package assembly:single
252+
mvn -Dproject.vversion=2.9 -Dproject.subrelease=6 -Dproject.platform=macos package assembly:single
294253
# use it
295-
java -jar target/ap-loader-macos-2.9-5-full.jar ...
254+
java -jar target/ap-loader-macos-2.9-6-full.jar ...
296255
# build the all JAR
297-
mvn -Dproject.vversion=2.9 -Dproject.subrelease=5 -Dproject.platform=all package assembly:single
256+
mvn -Dproject.vversion=2.9 -Dproject.subrelease=6 -Dproject.platform=all package assembly:single
298257
```
299258
300259
Development
@@ -339,6 +298,10 @@ And the following for a new async-profiler release:
339298
Changelog
340299
---------
341300
301+
### v6
302+
303+
- Fix Linux Arm64 release #12 (thanks to @dkrawiec-c for fixing this issue)
304+
342305
### v5
343306
344307
- Add new jattach methods (`AsyncProfilerLoader.jattach(Path agent, String args)`) to make using it programmatically easier

bin/releaser.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,8 @@
1717
from typing import Any, Dict, List, Union, Tuple, Optional
1818
from urllib import request
1919

20-
SUB_VERSION = 5
21-
RELEASE_NOTES = """- Add new jattach methods (`AsyncProfilerLoader.jattach(Path agent, String args)`) to make using it programmatically easier
22-
- Add new `AsyncProfilerLoader.extractCustomLibraryFromResources(ClassLoader, String)`
23-
method to extract a custom library from the resources
24-
- this also has a variant that looks in an alternative resource directory if the resource does not exist
20+
SUB_VERSION = 6
21+
RELEASE_NOTES = """- Fix Linux Arm64 release #12 (thanks to @dkrawiec-c for fixing this issue)
2522
"""
2623

2724
HELP = """

0 commit comments

Comments
 (0)