Skip to content
This repository has been archived by the owner on Jan 31, 2023. It is now read-only.

Debug without having to package or install #287

Merged
merged 2 commits into from
Nov 6, 2018
Merged

Debug without having to package or install #287

merged 2 commits into from
Nov 6, 2018

Conversation

cazfletch
Copy link
Contributor

Automatically packages and installs a smart contract
Also excluded images from the package

contributes to #232

Signed-off-by: Caroline Church caroline.church@uk.ibm.com

}

// tslint:disable-next-line no-empty
public dispose(): void {
}

private getNewVersion(): string {
const date: Date = new Date();
return `${this.PREFIX}-${date.getHours()}${date.getMinutes()}${date.getDate()}${date.getMonth()}${date.getFullYear()}`;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be YYYYMMDDHHMM so it can be easily sorted in chronological order 😉

Copy link
Contributor

@sstone1 sstone1 Nov 5, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, for consistency suggest you ensure the number of digits (12 in total) for each field.

Copy link
Contributor

@sstone1 sstone1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comments regarding timestamps

Automatically packages and installs a smart contract
Also excluded images from the package

contributes to #232

Signed-off-by: Caroline Church <caroline.church@uk.ibm.com>
sstone1
sstone1 previously approved these changes Nov 5, 2018
Copy link
Contributor

@sstone1 sstone1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

Signed-off-by: Caroline Church <caroline.church@uk.ibm.com>
Copy link
Contributor

@sstone1 sstone1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@cazfletch cazfletch merged commit ebaad1e into IBM-Blockchain:master Nov 6, 2018
@cazfletch cazfletch deleted the automatically-package-and-install branch November 19, 2018 13:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants