Skip to content

Commit

Permalink
more fixes + updated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
arcuri82 committed Oct 11, 2023
1 parent b95c543 commit 45a105d
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 35 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: evomaster.msi
path: release/evomaster-${evomaster-version}.msi
path: release/evomaster-${{env.evomaster-version}}.msi
retention-days: ${{env.retention-days}}
if-no-files-found: error

Expand All @@ -91,7 +91,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: evomaster.dmg
path: release/evomaster-${evomaster-version}.dmg
path: release/evomaster-${{env.evomaster-version}}.dmg
retention-days: ${{env.retention-days}}
if-no-files-found: error

Expand All @@ -116,7 +116,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: evomaster.deb
path: release/evomaster-${evomaster-version}-1_amd64.deb
path: release/evomaster-${{env.evomaster-version}}-1_amd64.deb
retention-days: ${{env.retention-days}}
if-no-files-found: error

Expand Down Expand Up @@ -164,7 +164,7 @@ jobs:
fail_on_unmatched_files: true
files: |
evomaster.jar
evomaster-${evomaster-version}.msi
evomaster-${evomaster-version}.dmg
evomaster-${evomaster-version}-1_amd64.deb
evomaster-${{env.evomaster-version}}.msi
evomaster-${{env.evomaster-version}}.dmg
evomaster-${{env.evomaster-version}}-1_amd64.deb
69 changes: 40 additions & 29 deletions docs/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,41 +83,20 @@ However, it might take some hours before those are in sync with Maven Central,
which you can check at [https://search.maven.org/](https://search.maven.org/).


## NPM Release
## GitHub Release

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

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

run the following commands:
```
npm run build
npm login
npm publish
git tag v<x.y.z>
git push origin v<x.y.z>
```
This will trigger a special build on GitHub Action (see `.github/workflows/release.yml`).
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).

Note that login will ask for username/password.
The release is linked to NPM's user `arcuri82`.
Password is ???.

## NuGet Release

After the version number has been updated with `version.py` script, need to make a release on NuGet as well for the .NET libraries.

First, build .NET libraries with:

`dotnet build`

Then, execute:

`./client-dotnet/publish.sh ???`

It takes as input the API-KEY linked to the namespace `EvoMaster.*`.
Note: API-KEYs only last 1 year, and then a new one needs to be created.


## GitHub Release
## GitHub Release (OLD MANUAL VERSION)

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



## (DEPRECATED) NPM Release

After the version number has been updated with `version.py` script, need to make a release on NPM as well.
From folder:

`client-js/evomaster-client-js`

run the following commands:
```
npm run build
npm login
npm publish
```

Note that login will ask for username/password.
The release is linked to NPM's user `arcuri82`.
Password is ???.

## (DEPRECATED) NuGet Release

After the version number has been updated with `version.py` script, need to make a release on NuGet as well for the .NET libraries.

First, build .NET libraries with:

`dotnet build`

Then, execute:

`./client-dotnet/publish.sh ???`

It takes as input the API-KEY linked to the namespace `EvoMaster.*`.
Note: API-KEYs only last 1 year, and then a new one needs to be created.

0 comments on commit 45a105d

Please sign in to comment.