Skip to content

Commit

Permalink
Merge pull request #109 from livMatS/2022-03-01-getting-ready-for-rel…
Browse files Browse the repository at this point in the history
…ease-0.5.0

MAINT: Have SCM versioning work in github actions, https://github.com…
  • Loading branch information
jotelha authored Mar 2, 2022
2 parents 3d12dd6 + 61df299 commit f8a0a61
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 8 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,11 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 1

- name: Get history and tags for SCM versioning to work
run: |
git fetch --prune --unshallow
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- name: Get version
id: get_version
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/build-on-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,11 @@ jobs:

- name: checkout
uses: actions/checkout@v2
with:
fetch-depth: 1

- name: Get history and tags for SCM versioning to work
run: |
git fetch --prune --unshallow
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- name: Install system dependencies
run: |
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/build-on-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,11 @@ jobs:

- name: checkout
uses: actions/checkout@v2
with:
fetch-depth: 1

- name: Get history and tags for SCM versioning to work
run: |
git fetch --prune --unshallow
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- name: Set up Python 3.8
uses: actions/setup-python@v2.3.1
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/build-on-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,11 @@ jobs:
steps:
- name: checkout
uses: actions/checkout@v2
with:
fetch-depth: 1

- name: Get history and tags for SCM versioning to work
run: |
git fetch --prune --unshallow
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
# strategy: aim at installing as many dependencies as possible from official mingw64 repo
# starting point: https://www.gtk.org/docs/installations/windows#using-gtk-from-msys2-packages
Expand Down

0 comments on commit f8a0a61

Please sign in to comment.