Skip to content

Add datadog-ci-version input option#18

Merged
juan-fernandez merged 2 commits intomainfrom
juan-fernandez/add-option-to-set-specific-version
May 28, 2024
Merged

Add datadog-ci-version input option#18
juan-fernandez merged 2 commits intomainfrom
juan-fernandez/add-option-to-set-specific-version

Conversation

@juan-fernandez
Copy link
Copy Markdown
Contributor

Closes #13

@juan-fernandez juan-fernandez marked this pull request as ready for review May 28, 2024 11:32
@juan-fernandez juan-fernandez requested a review from a team as a code owner May 28, 2024 11:32
run: |
SECOND_LATEST_VERSION=$(curl -s "https://api.github.com/repos/datadog/datadog-ci/releases" | jq '[.[] | {tag_name: .tag_name, published_at: .published_at}] | sort_by(.published_at) | reverse | .[:2] | .[1] | .tag_name')
CLEAN_TAG_NAME=${SECOND_LATEST_VERSION#v}
echo "CLEAN_TAG_NAME=$CLEAN_TAG_NAME" >> $GITHUB_ENV
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this does not seem to be working, plus this works, so I'm removing it:

npx @datadog/datadog-ci@"v2.35.0"

@juan-fernandez juan-fernandez merged commit a83979c into main May 28, 2024
@juan-fernandez juan-fernandez deleted the juan-fernandez/add-option-to-set-specific-version branch May 28, 2024 12:23
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.

Specify version for the datadog-ci installation

2 participants