Skip to content

Commit 138420b

Browse files
authored
chore(actions): add release workflow (#37)
* ci(actions): add code quality workflow * ci(actions): fix php-cs-fixer job * refactor(Client): add ReleasePlease comments * chore(actions): add release workflow using release-please * style: fix code style --------- Co-authored-by: criskell <[email protected]>
1 parent 446d59f commit 138420b

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

.github/workflows/release.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
on:
2+
push:
3+
branches:
4+
- main
5+
6+
permissions:
7+
contents: write
8+
pull-requests: write
9+
10+
name: Release SDK
11+
12+
jobs:
13+
release-please:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: google-github-actions/release-please-action@v3
17+
with:
18+
release-type: php
19+
package-name: open-pix/php-sdk
20+
extra-files: |
21+
src/Client.php

src/Client.php

+2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717
*/
1818
class Client
1919
{
20+
// {x-release-please-start-version}
2021
public const SDK_VERSION = "1.0.0";
22+
// {x-release-please-end}
2123

2224
public const BASE_URI = "https://api.openpix.com.br";
2325

0 commit comments

Comments
 (0)