Skip to content

Commit

Permalink
Merge pull request #6 from osbdr/patch/semantic-release
Browse files Browse the repository at this point in the history
Patch/semantic release
  • Loading branch information
j0nm1 authored Jun 30, 2020
2 parents 84f33ed + 80fedf1 commit a58c12d
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
node-version: 12.16.3

- name: prepare
run: npm install @semantic-release/gitlab @semantic-release/exec conventional-changelog-conventionalcommits
run: npm install @semantic-release/github @semantic-release/exec conventional-changelog-conventionalcommits

- name: release
run: npx semantic-release
Expand Down
29 changes: 29 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,35 @@ Beispiel einer Pipeline, die folgendes kann:

Die Dependencies werden mit Renovate aktualisiert. Mehr Infos: https://github.com/renovatebot/renovate

Dieses Projekt nutzt [`semantic-release`](https://github.com/semantic-release/semantic-release) und [conventionalcommits](https://www.conventionalcommits.org/) für die Versionierung auf `develop` und `master`:

```
name: Release Pipeline
on:
push:
branches:
- develop
- master
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12.16.3
- name: prepare
run: npm install @semantic-release/github @semantic-release/exec conventional-changelog-conventionalcommits
- name: release
run: npx semantic-release
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
```

> **Hinweis**:
> - `pip list --outdated` endet unabhängig vom Ergebnis immer mit Exit Code `0`, damit die Pipeline entsprechend reagiert wurde der Befehl erweitert.
Expand Down

0 comments on commit a58c12d

Please sign in to comment.