Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 15 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,21 @@ jobs:
runs-on: ubuntu-latest

steps:

# we pin v1.0.27 as 'latest' tag.
# in github UI the release may be marked as latest. So do it as first step of the workflow so there is less time
# that this release is marked as latest
# this is a workaround for:
# in November 2024 we changed the version of the agent that the plugin downloads from latest to a specific version.
# for that we needed to pin v1.0.27 as latest so that older plugin version will still use this release.
# todo: this step can be removed after all users upgraded the plugin, probably around March 25.
- name: pin v1.0.27 as latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release edit v1.0.27 --latest


- name: GIT Checkout
uses: actions/checkout@v4

Expand All @@ -42,14 +57,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release upload ${{ github.event.release.tag_name }} ./build/libs/digma-agent*.jar

# we pin v1.0.27 as latest tag. this is a workaround .
# in November 2024 we changed the version of the agent that the plugin downloads from latest to a specific version.
# for that we needed to pin v1.0.27 as latest so that older plugin version will still use this release.
- name: pin v1.0.27 as latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release edit v1.0.27 --latest



Expand Down