Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
3 changes: 3 additions & 0 deletions .github/.release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "5.1.2"
}
26 changes: 26 additions & 0 deletions .github/release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
"packages": {
".": {
"release-type": "simple",
"package-name": "solapi/sdk",
"include-component-in-tag": false,
"include-v-in-tag": true,
"tag-separator": "",
"draft": false,
"prerelease": false,
"changelog-path": "CHANGELOG.md",
"extra-files": [
{
"type": "json",
"path": "composer.json",
"jsonpath": "$.version"
},
{
"type": "generic",
"path": "src/Models/Request/DefaultAgent.php"
}
]
Comment thread
Palbahngmiyine marked this conversation as resolved.
Outdated
}
}
}
21 changes: 21 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: release-please

on:
push:
branches:
- master

permissions:
contents: write
pull-requests: write

jobs:
release-please:
name: Run release-please
runs-on: ubuntu-latest
steps:
- name: Run release-please
uses: googleapis/release-please-action@v4
with:
config-file: .github/release-please-config.json
manifest-file: .github/.release-please-manifest.json
97 changes: 0 additions & 97 deletions .github/workflows/release.yml

This file was deleted.

2 changes: 1 addition & 1 deletion src/Models/Request/DefaultAgent.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class DefaultAgent

public function __construct()
{
$this->sdkVersion = 'php/5.1.2';
$this->sdkVersion = 'php/5.1.2'; // x-release-please-version
$this->osPlatform = PHP_OS . " | " . phpversion();
}
}
Loading