Skip to content

Commit

Permalink
ci: add release-please (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
jooola committed Jan 11, 2024
1 parent ef3233a commit 994724e
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
"bootstrap-sha": "24a003816a799fe4e7763d6917bb512db237d412",
"include-component-in-tag": false,
"include-v-in-tag": true,
"packages": {
".": {
"release-type": "node",
"package-name": "setup-hcloud",
"extra-files": ["src/version.ts"]
}
}
}
1 change: 1 addition & 0 deletions .github/release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{".":"0.1.0"}
19 changes: 19 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Release-please

on:
push:
branches:
- main

jobs:
release-please:
# Do not run on forks.
if: github.repository == 'hetznercloud/setup-hcloud'

runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v4
with:
config-file: .github/release-please-config.json
manifest-file: .github/release-please-manifest.json
target-branch: ${{ github.ref_name }}

0 comments on commit 994724e

Please sign in to comment.