Skip to content

Commit

Permalink
released package
Browse files Browse the repository at this point in the history
  • Loading branch information
ChuckJonas committed Jun 26, 2019
1 parent 4fd6d33 commit 2ff6461
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 10 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,11 @@ Choose your own Adventure:

### A: Unlocked Package Install

--coming soon--
via URL: [/packaging/installPackage.apexp?p0=04t0H000000p2qlQAA](https://login.salesforce.com/packaging/installPackage.apexp?p0=04t0H000000p2qlQAA)

**OR**

via sfdx-cli: `sfdx force:package:install --wait 10 --publishwait 10 --package 04t0H000000p2qlQAA --noprompt -u you@yourorg`

### B: From Source

Expand Down
21 changes: 21 additions & 0 deletions RELEASE-INST.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Release Instructions

## Create Package

Only one time. Skip for updates
`sfdx force:package:create -n GraphQLQuery -d "Library for building GraphQL Queries" -r force-app -t Unlocked -v dev-hub`

## Release Update

- Create version
1. Update `versionName` & `versionNumber` in `sfdx-project.json`
2. run `sfdx force:package:version:create -p GraphQLQuery -d force-app -x --wait 10 -v dev-hub`

- "promote" Version

1. Get `04txxxxxx` version from previous step
2. `sfdx force:package:version:promote -p 04txxxxxx`

- Update install instructions in readme

- Add release on github
25 changes: 16 additions & 9 deletions sfdx-project.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
{
"packageDirectories": [
{
"path": "force-app",
"default": true
"packageDirectories": [
{
"path": "force-app",
"default": true,
"package": "GraphQLQuery",
"versionName": "ver 0.1",
"versionNumber": "0.1.0.NEXT"
}
],
"namespace": "",
"sfdcLoginUrl": "https://login.salesforce.com",
"sourceApiVersion": "45.0",
"packageAliases": {
"GraphQLQuery": "0Ho0H000000000zSAA",
"[email protected]": "04t0H000000p2qlQAA"
}
],
"namespace": "",
"sfdcLoginUrl": "https://login.salesforce.com",
"sourceApiVersion": "45.0"
}
}

0 comments on commit 2ff6461

Please sign in to comment.