Skip to content

Commit

Permalink
Merge pull request #19 from OskarAhl/oskar/remove_postProcess_transla…
Browse files Browse the repository at this point in the history
…tions

oskar/remove_postProcess_translations
  • Loading branch information
negarn authored May 10, 2019
2 parents 2526d58 + 8972ccf commit dafba8f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 8 deletions.
6 changes: 0 additions & 6 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,5 @@ module.exports = function (grunt) {
scope : 'devDependencies',
config : require('./package.json'),
},
postProcess: function(config) {
// release to translations automatically after releasing to staging, since staging release is always with 'cleanup'
if (global.release_target === 'staging') {
config.aliases.release.push('shell:release_translations');
}
},
});
};
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ grunt release --{release type}=1 [--cleanup] [--reset]

### Parameters:
- `{release type}` (mandatory)
- Should be one of `staging`, `production`, `translations`, `nex_beta`, `nex_production`.
- Should be one of `staging`, `production`, `translations`.
- In order to prevent accidentally releasing to the wrong target, it is mandatory to provide one of these parameters.
- Your remote origin will be checked to be the correct target of the given parameter.
- Your current branch will be checked to be the correct branch of the given parameter.
Expand Down
1 change: 0 additions & 1 deletion build/aliases.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,3 @@ release:
- 'shell:reset_ghpages'
- 'shell:make_cname'
- 'gh-pages:main'
- 'shell:trigger_tests'

0 comments on commit dafba8f

Please sign in to comment.