Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add more detail to the output of publish commands #326

Merged
merged 3 commits into from
Dec 16, 2022

Conversation

joshspicer
Copy link
Member

@joshspicer joshspicer commented Dec 15, 2022

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants