Skip to content

Commit

Permalink
fixup! Move dev tag on pre-release
Browse files Browse the repository at this point in the history
  • Loading branch information
nsavoire committed Jun 3, 2024
1 parent cf9c56e commit aa4b91f
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,16 +144,15 @@ jobs:
run: |
tar czf otel-profiling-agent-${RELEASE_VERSION}-aarch64.tar.gz -C agent-aarch64 .
tar czf otel-profiling-agent-${RELEASE_VERSION}-x86_64.tar.gz -C agent-x86_64 .
- name: Update dev tag
- name: Delete previous dev tag
uses: actions/github-script@v7
with:
script: |
github.rest.git.updateRef({
github.rest.git.deleteRef({
owner: context.repo.owner,
repo: context.repo.repo,
ref: 'tags/v${{ env.RELEASE_VERSION }}',
sha: context.sha
});
ref: 'tags/${{ env.RELEASE_VERSION }}',
}).catch();
- name: Create pre-release
uses: ncipollo/release-action@v1
with:
Expand Down

0 comments on commit aa4b91f

Please sign in to comment.