Skip to content
Snippets Groups Projects
Commit 43b66a13 authored by Matthew Pickering's avatar Matthew Pickering Committed by Marge Bot
Browse files

ghcup-metadata: Fix date modifier (M = minutes, m = month)

Fixes #23552
parent 5b6612bc
No related branches found
No related tags found
No related merge requests found
Pipeline #80106 failed
Pipeline: head.hackage

#80109

    Pipeline: head.hackage

    #80108

      ......@@ -1063,7 +1063,7 @@ ghcup-metadata-nightly:
      artifacts: false
      - job: project-version
      script:
      - nix shell --extra-experimental-features nix-command -f .gitlab/rel_eng -c ghcup-metadata --metadata ghcup-0.0.7.yaml --date="$(date -d $CI_PIPELINE_CREATED_AT +%Y-%M-%d)" --pipeline-id="$CI_PIPELINE_ID" --version="$ProjectVersion" > "metadata_test.yaml"
      - nix shell --extra-experimental-features nix-command -f .gitlab/rel_eng -c ghcup-metadata --metadata ghcup-0.0.7.yaml --date="$(date -d $CI_PIPELINE_CREATED_AT +%Y-%m-%d)" --pipeline-id="$CI_PIPELINE_ID" --version="$ProjectVersion" > "metadata_test.yaml"
      rules:
      - if: $NIGHTLY
      ......@@ -1100,7 +1100,7 @@ ghcup-metadata-release:
      # No explicit needs for release pipeline as we assume we need everything and everything will pass.
      extends: .ghcup-metadata
      script:
      - nix shell --extra-experimental-features nix-command -f .gitlab/rel_eng -c ghcup-metadata --release-mode --metadata ghcup-0.0.7.yaml --date="$(date -d $CI_PIPELINE_CREATED_AT +%Y-%M-%d)" --pipeline-id="$CI_PIPELINE_ID" --version="$ProjectVersion" > "metadata_test.yaml"
      - nix shell --extra-experimental-features nix-command -f .gitlab/rel_eng -c ghcup-metadata --release-mode --metadata ghcup-0.0.7.yaml --date="$(date -d $CI_PIPELINE_CREATED_AT +%Y-%m-%d)" --pipeline-id="$CI_PIPELINE_ID" --version="$ProjectVersion" > "metadata_test.yaml"
      rules:
      - if: '$RELEASE_JOB == "yes"'
      ......
      0% Loading or .
      You are about to add 0 people to the discussion. Proceed with caution.
      Finish editing this message first!
      Please register or to comment