Skip to content

Commit 45a105d

Browse files
committed
more fixes + updated documentation
1 parent b95c543 commit 45a105d

File tree

2 files changed

+46
-35
lines changed

2 files changed

+46
-35
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
uses: actions/upload-artifact@v3
6767
with:
6868
name: evomaster.msi
69-
path: release/evomaster-${evomaster-version}.msi
69+
path: release/evomaster-${{env.evomaster-version}}.msi
7070
retention-days: ${{env.retention-days}}
7171
if-no-files-found: error
7272

@@ -91,7 +91,7 @@ jobs:
9191
uses: actions/upload-artifact@v3
9292
with:
9393
name: evomaster.dmg
94-
path: release/evomaster-${evomaster-version}.dmg
94+
path: release/evomaster-${{env.evomaster-version}}.dmg
9595
retention-days: ${{env.retention-days}}
9696
if-no-files-found: error
9797

@@ -116,7 +116,7 @@ jobs:
116116
uses: actions/upload-artifact@v3
117117
with:
118118
name: evomaster.deb
119-
path: release/evomaster-${evomaster-version}-1_amd64.deb
119+
path: release/evomaster-${{env.evomaster-version}}-1_amd64.deb
120120
retention-days: ${{env.retention-days}}
121121
if-no-files-found: error
122122

@@ -164,7 +164,7 @@ jobs:
164164
fail_on_unmatched_files: true
165165
files: |
166166
evomaster.jar
167-
evomaster-${evomaster-version}.msi
168-
evomaster-${evomaster-version}.dmg
169-
evomaster-${evomaster-version}-1_amd64.deb
167+
evomaster-${{env.evomaster-version}}.msi
168+
evomaster-${{env.evomaster-version}}.dmg
169+
evomaster-${{env.evomaster-version}}-1_amd64.deb
170170

docs/release.md

Lines changed: 40 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -83,41 +83,20 @@ However, it might take some hours before those are in sync with Maven Central,
8383
which you can check at [https://search.maven.org/](https://search.maven.org/).
8484

8585

86-
## NPM Release
86+
## GitHub Release
8787

88-
After the version number has been updated with `version.py` script, need to make a release on NPM as well.
89-
From folder:
88+
Push the version changes in the `pom.xml` files on Git.
9089

91-
`client-js/evomaster-client-js`
90+
Create a Git _tag_ in the form `v<version>`, e.g., `v0.4.0`, using the command:
9291

93-
run the following commands:
9492
```
95-
npm run build
96-
npm login
97-
npm publish
93+
git tag v<x.y.z>
94+
git push origin v<x.y.z>
9895
```
96+
This will trigger a special build on GitHub Action (see `.github/workflows/release.yml`).
97+
If everything goes correctly, then after that action is completed the new release should be available on the [release page](https://github.com/EMResearch/EvoMaster/releases).
9998

100-
Note that login will ask for username/password.
101-
The release is linked to NPM's user `arcuri82`.
102-
Password is ???.
103-
104-
## NuGet Release
105-
106-
After the version number has been updated with `version.py` script, need to make a release on NuGet as well for the .NET libraries.
107-
108-
First, build .NET libraries with:
109-
110-
`dotnet build`
111-
112-
Then, execute:
113-
114-
`./client-dotnet/publish.sh ???`
115-
116-
It takes as input the API-KEY linked to the namespace `EvoMaster.*`.
117-
Note: API-KEYs only last 1 year, and then a new one needs to be created.
118-
119-
120-
## GitHub Release
99+
## GitHub Release (OLD MANUAL VERSION)
121100

122101
Push the version changes in the `pom.xml` files on Git.
123102
Build the whole `EvoMaster` from project root folder with:
@@ -196,4 +175,36 @@ This means:
196175

197176

198177

178+
## (DEPRECATED) NPM Release
179+
180+
After the version number has been updated with `version.py` script, need to make a release on NPM as well.
181+
From folder:
182+
183+
`client-js/evomaster-client-js`
184+
185+
run the following commands:
186+
```
187+
npm run build
188+
npm login
189+
npm publish
190+
```
191+
192+
Note that login will ask for username/password.
193+
The release is linked to NPM's user `arcuri82`.
194+
Password is ???.
195+
196+
## (DEPRECATED) NuGet Release
197+
198+
After the version number has been updated with `version.py` script, need to make a release on NuGet as well for the .NET libraries.
199+
200+
First, build .NET libraries with:
201+
202+
`dotnet build`
203+
204+
Then, execute:
205+
206+
`./client-dotnet/publish.sh ???`
207+
208+
It takes as input the API-KEY linked to the namespace `EvoMaster.*`.
209+
Note: API-KEYs only last 1 year, and then a new one needs to be created.
199210

0 commit comments

Comments
 (0)