Skip to content
This repository has been archived by the owner on Oct 6, 2022. It is now read-only.

Commit

Permalink
Updated free git build
Browse files Browse the repository at this point in the history
  • Loading branch information
arobbins committed Jan 30, 2019
1 parent a87e62f commit 98c1482
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gulp/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ var config = {
proTmp: '../../../../assets/wp-shopify-pro/_tmp',
proTmpRenamed: '../../../../assets/wp-shopify-pro/wp-shopify-pro',
free: '../../../../assets/wpshopify',
freeDistRepo: '../../../../assets/wpshopify/_free',
freeDistRepo: '../../../../assets/wpshopify',
freeTmpRenamed: '../../../../assets/wpshopify/wpshopify',
coreRepo: '../../../../assets/wp-core-repo/trunk',
svgsPublic: isBuilding(argvs) ? './_tmp/public/imgs' : './public/imgs',
Expand Down
4 changes: 2 additions & 2 deletions gulp/tasks/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ gulp.task('build:pro', done => {
'clean:free:repo', // Non-tmp -- Removes ./_free folder
'build:git', // Non-tmp -- Runs our git flow process (add / commit, release start, release pub, release finish)
'build:copyToTmp', // Tmp -- Copies all app files to _tmp folder
'build:preprocess', // Runs through preprocess code
'build:preprocess', // Runs through preprocess code
'build:rename:version', // Tmp -- Updates the version number within the main wp-shopify.php file and the config class
'build:remove:testversion', // Tmp -- Ensures that the $new_version_number variable is commented out
'build:assets', // Tmp
Expand Down Expand Up @@ -554,7 +554,7 @@ gulp.task('build:free', done => {
'build:assets',
'build:free:repo:clone', // clones the free repo into the _free folder
'build:free:repo:copy', // copies the files inside _tmp (which we just processed) into the _free folder
// 'build:free:repo:move',
'build:free:repo:move'
// 'build:git', // Runs our git flow process (add / commit, release start, release pub, release finish)
// 'build:free:copy:readme', // copies the core repo readme to the wpshopify/wpshopify folder
// 'build:free:mergeWithCore', // merges _free files / folders with the wp-core folder in assets
Expand Down
4 changes: 3 additions & 1 deletion gulp/tasks/build/git.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function gitOptions() {

return {
newVersionNumber: config.buildRelease,
gitFolder: config.isPro ? config.folders.plugin : config.folders.freeDistRepo,
gitFolder: config.isPro ? config.folders.plugin : config.folders.free,
repoFiles: config.isPro ? config.files.proRepoFiles : config.files.freeRepoFiles
}

Expand All @@ -26,7 +26,9 @@ Git flow release start
gulp.task('build:git:release:start', done => {

const options = gitOptions();

console.log('options.gitFolder', options.gitFolder);

return gulp
.src(options.gitFolder, { base: "./" })
.pipe( shell([
Expand Down

0 comments on commit 98c1482

Please sign in to comment.