-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Adds nexus version file * Update nexus version * Recurse submodules * Manually checkout submodules * Git fetch tags for submodules * Cleanup local submodule to generate correct tagged version * Remove newline in nexus version ci/cd * Also trim whitespace * Diff manually * Ignore whitespace in diff * Use shorter git hash * Updates nexus version file
- Loading branch information
Showing
3 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: nexus version check | ||
|
||
on: | ||
push: | ||
branches: [master] | ||
pull_request: | ||
branches: [master] | ||
|
||
jobs: | ||
linting: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Generate nexus git version | ||
run: | | ||
git submodule sync --recursive | ||
git submodule update --init --recursive --jobs=4 | ||
git submodule foreach --recursive 'git fetch --tags' | ||
cd pynxtools/definitions | ||
git describe --dirty --tags --long --match "*[0-9]*" > ../nexus-ref.txt | ||
cd ../ | ||
- name: Diff | ||
run: | | ||
diff -w pynxtools/nexus-version.txt pynxtools/nexus-ref.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
v2020.10-1452-gd2fdad4f |