Skip to content

add more detail to the output of publish commands - #326

Merged
joshspicer merged 3 commits into
mainfrom
joshspicer/result-on-publish
Dec 16, 2022
Merged

joshspicer merged 3 commits into
mainfrom
joshspicer/result-on-publish

Conversation

@joshspicer

@joshspicer joshspicer commented Dec 15, 2022 •

Copy link
Copy Markdown
Contributor

Adds more detail to the result printed at the of devcontainer features|templates publish. Notably, will now emit the version (which will be a subset of publishVersions) and the manifest digest of the artifact (a SHA256 hash of the manifest, which includes the contents)).

The version is useful for devcontainers/features#113, and the digest seems generally useful to have moving forward.

{
  "color": {
    "publishedVersions": [
      "1",
      "1.0",
      "1.0.0",
      "latest"
    ],
    "digest": "b5d0ae81ff657720ee3656c3c4c0ab3794c78bb9efb1551ebf3068b3a29632b5",
    "version": "1.0.0"
  },
  "hello": {
    "publishedVersions": [
      "1",
      "1.0",
      "1.0.0",
      "latest"
    ],
    "digest": "ba3755f8fbde068787eeb5a8377d103c983090a481f1e937e0ce60ec8996bd8a",
    "version": "1.0.0"
  }
}
@joshspicer
joshspicer requested a review from a team as a code owner December 15, 2022 22:28
joshspicer added a commit to joshspicer/devcontainer-action that referenced this pull request Dec 16, 2022
@joshspicer
joshspicer merged commit 71d40bd into main Dec 16, 2022
@joshspicer
joshspicer deleted the joshspicer/result-on-publish branch December 16, 2022 17:34
joshspicer added a commit to devcontainers/action that referenced this pull request Jan 25, 2023
* repo tags for each published tag

* provide hidden option to pin to CLI tag

* remove v

* parse new contract from (devcontainers/cli#326)

* not fatal, add warning

* option to disable repo tagging
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants