Skip to content
This repository has been archived by the owner on Mar 18, 2024. It is now read-only.

Commit

Permalink
fix(git): fix git related issues on docker
Browse files Browse the repository at this point in the history
- Rollback change made earlier to simple-git
  - Use pinned version of heroku docker image as this
version seems not to have the issue. This will be analyzed in a future release
  • Loading branch information
azlam-abdulsalam committed May 20, 2022
1 parent 3c98081 commit ade4545
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dockerfiles/sfpowerscripts.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM heroku/heroku:20
FROM heroku/heroku:20.v77


ENV DEBIAN_FRONTEND=noninteractive
Expand Down
2 changes: 1 addition & 1 deletion packages/sfpowerscripts-cli/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/sfpowerscripts-cli/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@dxatscale/sfpowerscripts",
"description": "A build system for package based development in Salesforce,delivered as a sfdx plugin that can be implemented in any CI/CD system of choice.Read more about the plugin and details here - https://dxatscale.gitbook.io/sfpowerscripts/",
"version": "13.6.15",
"version": "13.6.16",
"author": "dxatscale",
"release": "May 22",
"bin": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { COLOR_ERROR } from '@dxatscale/sfpowerscripts.core/lib/logger/SFPLogger
import SfpPackage, { PackageType } from '@dxatscale/sfpowerscripts.core/lib/package/SfpPackage';
import SfpPackageBuilder from '@dxatscale/sfpowerscripts.core/lib/package/SfpPackageBuilder';
import getFormattedTime from '@dxatscale/sfpowerscripts.core/lib/utils/GetFormattedTime'
import ExecuteCommand from '@dxatscale/sfpowerscripts.core/lib/command/commandExecutor/ExecuteCommand'


const PRIORITY_UNLOCKED_PKG_WITH_DEPENDENCY = 1;
const PRIORITY_UNLOCKED_PKG_WITHOUT_DEPENDENCY = 3;
Expand Down Expand Up @@ -78,7 +78,7 @@ export default class BuildImpl {
SFPLogger.log(`Invoking build...`,LoggerLevel.INFO);
const git = simplegit();
if (this.props.repourl == null) {
this.repository_url = await new ExecuteCommand().execCommand(`git config --get remote.origin.url`,process.cwd());
this.repository_url = (await git.getConfig('remote.origin.url')).value;
SFPLogger.log(`Fetched Remote URL ${this.repository_url}`,LoggerLevel.INFO);
} else this.repository_url = this.props.repourl;

Expand Down

0 comments on commit ade4545

Please sign in to comment.