Loading .gitlab/ci/download/select_jobs.gitlab-ci.yml +1 −1 Original line number Diff line number Diff line Loading @@ -344,7 +344,7 @@ # CASE WHERE A COMMIT TAG IS CREATED } elseif ( "$CI_COMMIT_TAG" ) { Write-Host "Rretrieving the creation_date of the commit the tag has been created from $DEP_API_URL/repository/tags/$CI_COMMIT_TAG" $REPO_CURR_TAG_DATE=$($(Invoke-RestMethod -Uri "$DEP_API_URL/repository/tags/$CI_COMMIT_TAG" -Method Get).commit.created_at) $REPO_CURR_TAG_DATE=$($(Invoke-RestMethod -Uri "$API_URL/projects/$CI_PROJECT_ID/repository/tags/$CI_COMMIT_TAG" -Method Get).commit.created_at) Write-Host "REPO_CURR_TAG_DATE = $REPO_CURR_TAG_DATE" Write-Host "Looking for latest release in $DEP_NAME before $CI_COMMIT_TAG was released on project $CI_PROJECT_NAME." Write-Host "Retrieving repo tags from $DEP_API_URL/repository/tags?per_page=100" Loading Loading
.gitlab/ci/download/select_jobs.gitlab-ci.yml +1 −1 Original line number Diff line number Diff line Loading @@ -344,7 +344,7 @@ # CASE WHERE A COMMIT TAG IS CREATED } elseif ( "$CI_COMMIT_TAG" ) { Write-Host "Rretrieving the creation_date of the commit the tag has been created from $DEP_API_URL/repository/tags/$CI_COMMIT_TAG" $REPO_CURR_TAG_DATE=$($(Invoke-RestMethod -Uri "$DEP_API_URL/repository/tags/$CI_COMMIT_TAG" -Method Get).commit.created_at) $REPO_CURR_TAG_DATE=$($(Invoke-RestMethod -Uri "$API_URL/projects/$CI_PROJECT_ID/repository/tags/$CI_COMMIT_TAG" -Method Get).commit.created_at) Write-Host "REPO_CURR_TAG_DATE = $REPO_CURR_TAG_DATE" Write-Host "Looking for latest release in $DEP_NAME before $CI_COMMIT_TAG was released on project $CI_PROJECT_NAME." Write-Host "Retrieving repo tags from $DEP_API_URL/repository/tags?per_page=100" Loading