Skip to content

Commit 8bf345a

Browse files
committed
readme: describe release via github actions
1 parent 14047fc commit 8bf345a

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

README.md

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,10 @@ git rebase upstream/master
2424
git push -f
2525
```
2626

27-
## How can I run a release?
28-
Prerequisite: you need to have joern's sonatype credentials configured in your `~/.m2/settings.xml`, i.e. there should be an entry like this, which you can get from our sonatype central account.
29-
```xml
30-
<server>
31-
32-
<id>sonatype-central-joern</id>
33-
<username>MXQnCFgb</username>
34-
<password>SECRET_TOKEN</password>
35-
</server>
36-
```
37-
Context: [pom.xml.template](https://github.com/joernio/ghidra/blob/40346937b37889112cd4515e0535bf9e37f69a9a/pom.xml.template#L50) references the sonatype central server as `sonatype-central-joern`
38-
39-
Then you should be able to run `./ghidra-publish.sh` which will build ghidra, create a temporary maven project and publish it to sonatype central.
27+
## How can I release a new version?
28+
Releases run via github actions. Head over to https://github.com/joernio/ghidra/actions/workflows/release.yml, click `Run workflow` (only visible if you have the permission), then follow the logs.
29+
This will first build the native libraries for `mac_arm_64`, `mac_x86_64`, `win_x86_64` and `linux_x86_64`, then build ghidra and publish everything to maven central.
30+
You can find the released version at the end of the output of `ghidra-publish.sh` - search for e.g. `release is now published to sonatype central`.
4031

4132

4233
# Ghidra Software Reverse Engineering Framework

0 commit comments

Comments
 (0)