Skip to content

Commit 62bdb7a

Browse files
(PA-5641) Release only to rubygems, do not bump and release
This commit changes the github release action to only release to rubygems, meaning that the repo should be manually updated in version and will release a gem when a tag is pushed.
1 parent 47fc3c2 commit 62bdb7a

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@ name: Tag and release
22

33
on:
44
push:
5-
branches:
6-
- main
7-
paths:
8-
- 'lib/puppet/resource_api/version.rb'
5+
tags:
6+
- '*'
97

108
jobs:
119
release:
@@ -14,16 +12,6 @@ jobs:
1412
- uses: actions/checkout@v3
1513
with:
1614
fetch-depth: '0'
17-
- name: Bump version and push tag
18-
uses: anothrNick/[email protected]
19-
env:
20-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21-
DEFAULT_BUMP: patch
22-
TAG_CONTEXT: branch
23-
WITH_V: false
24-
# Uncomment this if the tag and version file become out-of-sync and
25-
# you need to tag at a specific version.
26-
# CUSTOM_TAG:
2715
- name: Build gem
2816
uses: scarhand/actions-ruby@master
2917
with:

0 commit comments

Comments
 (0)