@codedependant/semantic-release-docker 5.0.2 → 5.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/lib/build-config.js +1 -1
- package/lib/verify.js +2 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Semantic Release Docker
|
|
2
2
|
|
|
3
|
+
## [5.0.3](https://github.com/esatterwhite/semantic-release-docker/compare/v5.0.2...v5.0.3) (2024-03-25)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **verify**: fix logic around the conditional prepare step [ae8335a](https://github.com/esatterwhite/semantic-release-docker/commit/ae8335a654bf844c3186a7d24ec068f03ced3fe5) - Eric Satterwhite
|
|
9
|
+
|
|
3
10
|
## [5.0.2](https://github.com/esatterwhite/semantic-release-docker/compare/v5.0.1...v5.0.2) (2024-03-22)
|
|
4
11
|
|
|
5
12
|
|
package/lib/build-config.js
CHANGED
|
@@ -58,7 +58,7 @@ async function buildConfig(build_id, config, context) {
|
|
|
58
58
|
, publish
|
|
59
59
|
, tags: array.toArray(tags)
|
|
60
60
|
, verifycmd
|
|
61
|
-
, dry_run
|
|
61
|
+
, dry_run: !!typeCast(dry_run || context.dryRun)
|
|
62
62
|
, args: {
|
|
63
63
|
SRC_DIRECTORY: path.basename(context.cwd)
|
|
64
64
|
, TARGET_PATH: target
|
package/lib/verify.js
CHANGED
|
@@ -48,7 +48,8 @@ async function verify(opts, context) {
|
|
|
48
48
|
await doLogin({...opts, USERNAME, PASSWORD}, context)
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
if (!opts.verifycmd
|
|
51
|
+
if (!opts.verifycmd) return true
|
|
52
|
+
if (!opts.dry_run) return true
|
|
52
53
|
|
|
53
54
|
const img = await prepare(opts, context)
|
|
54
55
|
const output = await img.run(opts.verifycmd)
|