Skip to content

Commit 099b703

Browse files
Update tag-to-draft-release.yml
1 parent 5173d26 commit 099b703

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/tag-to-draft-release.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@ jobs:
2121
- uses: actions/setup-python@v2
2222
with:
2323
python-version: '3.x'
24-
- name: Set GIT tag name
25-
run: |
26-
# Sets an environment variable used in the next steps
27-
echo "::set-env name=TRAVIS_TAG::$(git describe --exact-match --tags)"
2824
- name: Build package JSON
2925
env:
3026
TRAVIS_BUILD_DIR: ${{ github.workspace }}
@@ -40,4 +36,4 @@ jobs:
4036
json=$(find ./package/versions -name package_rp2040_index.json)
4137
log=$(find ./package/versions -name package_rp2040_index.log)
4238
zip=$(find ./package/versions -name rp2040*zip)
43-
python3 ./package/upload_release.py --user "$GITHUB_ACTOR" --repo "$GITHUB_REPOSITORY" --token "$CI_GITHUB_API_KEY" --tag "$TRAVIS_TAG" --name "Release $TRAVIS_TAG" --msg "@$json" "$zip" "$json"
39+
python3 ./package/upload_release.py --user "$GITHUB_ACTOR" --repo "$GITHUB_REPOSITORY" --token "$CI_GITHUB_API_KEY" --tag "$(git describe --exact-match --tags)" --name "Release $TRAVIS_TAG" --msg "@$json" "$zip" "$json"

0 commit comments

Comments
 (0)