0.0.16 • Published 2 years ago

sf-git-packager v0.0.16

Weekly downloads
1
License
ISC
Repository
-
Last release
2 years ago

Overview

CLI Tool to generate Salesforce.com package.xml (and destructiveChange.xml) files based on git diff between two branches.

Install

git clone https://github.com/dlively1/sf-packager.git && cd sf-packager && npm link

Usage

$ sfpackage destinationBranch sourceBranch ./deploy/

This will create a package at ./deploy/sourceBranch/unpackaged/package.xml copying all files into directory.

If any deletes occurred will also create ./deploy/sourceBranch/destructive/destructiveChanges.xml

You can force a specific version for the package.xml with the -p flag

sfpackage destinationBranch sourceBranch -p 42 ./deploy/

You can also just write the package.xml and destructiveChanges.xml by passing the -d flag

sfpackage destinationBranch sourceBranch -d > ~/Desktop/packageAndDestructiveChanges.xml

You can also create "backout" content by reversing the order of the destination and source branches

sfpackage sourceBranch destinationBranch ./deploy/
0.0.16

2 years ago

0.0.15

4 years ago

0.0.14

5 years ago

0.0.13

5 years ago

0.0.12

5 years ago

0.0.11

5 years ago

0.0.10

5 years ago

0.0.8

5 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago