Skip to content

Commit 3d6ba60

Browse files
author
Guilherme Souza
committed
fix: inject version in Version.swift file
1 parent 3e8e3dd commit 3d6ba60

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

.github/workflows/release-please.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,3 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: google-github-actions/release-please-action@v4
17-
with:
18-
release-type: simple
19-
extra-files: ["Sources/_Helpers/Version.swift"]

Sources/_Helpers/Version.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
// x-release-please-start-version
2-
package let version = "2.5.1"
3-
// x-release-please-end
1+
package let version = "2.5.1" // {x-release-please-version}

release-please-config.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"packages": {
3+
".": {
4+
"release-type": "simple",
5+
"extra-files": [
6+
"Sources/_Helpers/Version.swift"
7+
]
8+
}
9+
},
10+
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"

0 commit comments

Comments
 (0)