Skip to content

Commit 8bfe6d9

Browse files
committed
[add] Added release drafter configs
1 parent b26721c commit 8bfe6d9

File tree

4 files changed

+63
-2
lines changed

4 files changed

+63
-2
lines changed

.github/release-drafter.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name-template: 'v$RESOLVED_VERSION 🌈'
2+
tag-template: 'v$RESOLVED_VERSION'
3+
categories:
4+
- title: '🚀 Features'
5+
labels:
6+
- 'feature'
7+
- 'enhancement'
8+
- title: '🐛 Bug Fixes'
9+
labels:
10+
- 'fix'
11+
- 'bugfix'
12+
- 'bug'
13+
- title: '🧰 Maintenance'
14+
label: 'chore'
15+
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
16+
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.
17+
version-resolver:
18+
major:
19+
labels:
20+
- 'major'
21+
minor:
22+
labels:
23+
- 'minor'
24+
patch:
25+
labels:
26+
- 'patch'
27+
default: patch
28+
template: |
29+
## Changes
30+
31+
$CHANGES
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Release Drafter
2+
3+
on:
4+
push:
5+
# branches to consider in the event; optional, defaults to all
6+
branches:
7+
- master
8+
- main
9+
# pull_request event is required only for autolabeler
10+
pull_request:
11+
# Only following types are handled by the action, but one can default to all as well
12+
types: [opened, reopened, synchronize]
13+
14+
jobs:
15+
update_release_draft:
16+
runs-on: ubuntu-latest
17+
steps:
18+
# (Optional) GitHub Enterprise requires GHE_HOST variable set
19+
#- name: Set GHE_HOST
20+
# run: |
21+
# echo "GHE_HOST=${GITHUB_SERVER_URL##https:\/\/}" >> $GITHUB_ENV
22+
23+
# Drafts your next Release notes as Pull Requests are merged into "master"
24+
- uses: release-drafter/release-drafter@v5
25+
# (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
26+
# with:
27+
# config-name: my-config.yml
28+
# disable-autolabeler: true
29+
env:
30+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ Export and persist Go profiling data locally, or into https://codeperf.io for FR
33

44

55
curl -sLS https://raw.githubusercontent.com/codeperfio/pprof-exporter/main/get.sh | sh
6-
sudo install pprof-exporter /usr/local/bin/
6+
sudo install pprof-exporter* /usr/local/bin/
77

88
pprof-exporter --help

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright © 2021 NAME HERE <EMAIL ADDRESS>
2+
Copyright © 2021 codeperf.io hello <at> codeperf <dot> io
33
44
Licensed under the Apache License, Version 2.0 (the "License");
55
you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)