Skip to content

Commit

Permalink
describe releasing
Browse files Browse the repository at this point in the history
  • Loading branch information
sjuergen committed Mar 5, 2024
1 parent 5002c59 commit 238ab45
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 0 deletions.
Binary file added docs/images/release1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/release2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/release3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
58 changes: 58 additions & 0 deletions template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,64 @@ apax add @simatic-ax/<Library>
Simatic.Ax.<Library>;
```

## Publish library

> This is only working for public libraries. Public libraries must fulfill the OSS clearing process.
To publish that library on GitHub, the following steps are required

1. Check the apax.yml
1. create the remote repository on GitHub
1. add a remote repository
1. push the repository to the remote repository
1. start the release workflow

### Check the apax.yml

the apax.yml must contain the correct name consisting of organization (e.g. `@simatic-ax`) and project name (e.g `myproject`).

```yml
name: "@simatic-ax/myproject"
```
### create the remote repository on GitHub
Click on https://github.com/organizations/simatic-ax/repositories/new to create a new project.
The `Repository name` must be the same like your project name (e.g `myproject`)

> don't enter the scope

### add a remote repository to your local repository

```sh
git branch -M main
git remote add origin git@github.com:simatic-ax/<myproject>.git
```


### push the repository to the remote repository

```sh
git branch -M main
git remote add origin git@github.com:simatic-ax/<myproject>.git
```
### start the release workflow

Draft new release

![release](/docs/images/release1.png)

![release](/docs/images/release2.png)

- Choose a tag
- Enter a version regarding semantic versioning (e.g. `0.0.2`)
- Create a new tag
-
![release](/docs/images/release3.png)

--> Result: The release workflow in GitHub actions starts

## Objects

## Example
Expand Down

0 comments on commit 238ab45

Please sign in to comment.