-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ability to specify version of SDK
This will be used by CI for builds on each commit of Microkit, which will be useful for getting prebuillt SDKs between official releases. Signed-off-by: Ivan Velickovic <[email protected]>
- Loading branch information
1 parent
306109b
commit ced46af
Showing
3 changed files
with
41 additions
and
7 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
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,10 @@ | ||
#!/bin/bash | ||
|
||
# Copyright 2024, UNSW | ||
# SPDX-License-Identifier: BSD-2-Clause | ||
|
||
VERSION=`cat VERSION` | ||
NUM_COMMITS=`git rev-list --count 1.4.1..main` | ||
HEAD=`git rev-parse --short HEAD` | ||
|
||
echo "$VERSION.$NUM_COMMITS+$HEAD" |