Skip to content
This repository was archived by the owner on Nov 30, 2022. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
template: |
## What’s Changed
$CHANGES
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: Update Changelog
on:
on:
push:
pull_request:
branches:
- master

jobs:
changelog:
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/release-draft.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Update Releaseinfo
on:
push:
branches:
- master

jobs:
update_version:
runs-on: ubuntu-latest
steps:
- name: calculate next version
id: version
uses: patrickjahns/version-drafter-action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: release-drafter/release-drafter@master
with:
version: ${{ format('{0}', steps.version.outputs.next-version) }}
tag: ${{ format('{0}', steps.version.outputs.next-version) }}
name: ${{ format('{0}', steps.version.outputs.next-version) }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15 changes: 13 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ env:
branches:
only:
- master
- /^v\d+\.\d+(\.\d+)?(-\S*)?$/
- /^\d+\.\d+(\.\d+)?(-\S*)?$/

services: docker

Expand All @@ -27,4 +27,15 @@ install:
script:
- chef exec foodcritic .
- chef exec rubocop
- chef exec kitchen test
- chef exec kitchen test

deploy:
provider: chef-supermarket
user_id: "codenamephp"
client_key: "codenamephp.pem"
cookbook_category: "Utilities"
on:
tags: true

after_deploy:
- chef exec berks upload