Skip to content

Commit 9de4ab6

Browse files
committed
fix: testing lowering maxFileAdd in source-tracking
1 parent 0961c76 commit 9de4ab6

File tree

3 files changed

+23
-6
lines changed

3 files changed

+23
-6
lines changed

.github/workflows/onPushToMain.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,18 @@ name: version, tag and github release
33

44
on:
55
push:
6-
branches: [main]
6+
branches:
7+
- main
8+
- prerelease/*
9+
tags-ignore:
10+
- '*'
711

812
jobs:
913
release:
1014
uses: salesforcecli/github-workflows/.github/workflows/githubRelease.yml@main
1115
secrets: inherit
16+
with:
17+
prerelease: ${{ github.ref_name != 'main' }}
1218

1319
# most repos won't use this
1420
# depends on previous job to avoid git collisions, not for any functionality reason

.github/workflows/onRelease.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: publish
22

33
on:
44
release:
5-
types: [released]
5+
types: [published]
66
# support manual release in case something goes wrong and needs to be repeated or tested
77
workflow_dispatch:
88
inputs:
@@ -11,11 +11,22 @@ on:
1111
type: string
1212
required: true
1313
jobs:
14+
getDistTag:
15+
outputs:
16+
tag: ${{ steps.distTag.outputs.tag }}
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@v3
20+
with:
21+
ref: ${{ github.event.release.tag_name || inputs.tag }}
22+
- uses: salesforcecli/github-workflows/.github/actions/getPreReleaseTag@main
23+
id: distTag
1424
npm:
1525
uses: salesforcecli/github-workflows/.github/workflows/npmPublish.yml@main
26+
needs: [getDistTag]
1627
with:
1728
ctc: true
1829
sign: true
19-
tag: latest
30+
tag: ${{ needs.getDistTag.outputs.tag || 'latest' }}
2031
githubTag: ${{ github.event.release.tag_name || inputs.tag }}
2132
secrets: inherit

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@salesforce/plugin-source",
33
"description": "Commands to interact with source formatted metadata",
4-
"version": "2.3.9",
4+
"version": "2.3.10-dev.0",
55
"author": "Salesforce",
66
"main": "lib/index.js",
77
"bugs": "https://github.com/forcedotcom/cli/issues",
@@ -13,7 +13,7 @@
1313
"@salesforce/core": "^3.32.8",
1414
"@salesforce/kit": "^1.8.0",
1515
"@salesforce/source-deploy-retrieve": "^7.5.17",
16-
"@salesforce/source-tracking": "^2.2.15",
16+
"@salesforce/source-tracking": "2.2.16-dev.1",
1717
"chalk": "^4.1.2",
1818
"got": "^11.8.3",
1919
"jsforce": "^2.0.0-beta.19",
@@ -188,4 +188,4 @@
188188
"publishConfig": {
189189
"access": "public"
190190
}
191-
}
191+
}

0 commit comments

Comments
 (0)