Skip to content

Commit

Permalink
Fetching in script
Browse files Browse the repository at this point in the history
  • Loading branch information
lewis-chambers committed May 30, 2024
1 parent 9239840 commit f13e4bf
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
fetch-depth: 0
fetch-tags: true
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
Expand All @@ -30,6 +26,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref_name }}
run: |
git fetch --depth=0 origin +refs/heads/${{github.base_ref}}:refs/remotes/origin/${{github.base_ref}}
git describe --long
tag=$(python -c "import iotdevicesimulator; print(iotdevicesimulator.__version__)")
echo $tag
Expand Down

0 comments on commit f13e4bf

Please sign in to comment.