Skip to content
This repository has been archived by the owner on Sep 13, 2021. It is now read-only.

Commit

Permalink
Merge 6f232aa into 764d25a
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikaverpil authored Feb 2, 2019
2 parents 764d25a + 6f232aa commit 3cbfc00
Show file tree
Hide file tree
Showing 4 changed files with 93 additions and 3 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,9 @@ See the `tests` folder for code examples used to test the built wheels' function
- The python3 files for oiio at [vcpkg/ports/python3](https://github.com/Microsoft/vcpkg/tree/master/ports/python3)
- The vcpkg files for oiio at [vcpkg/ports/openimageio](https://github.com/Microsoft/vcpkg/tree/master/ports/openimageio)
- Get SHA512 of file:
- macOS: `openssl dgst -sha512 [FILE]`
- macOS: `openssl dgst -sha512 [FILE]`
- Create release:
1. Commit changes: `git commit -am "My changes"`
2. Create tag: `git tag [oiio-version]+[yyyymmdd]` (e.g. `2.0.4+20190202`)
3. Push tag: `git push origin [oiio-version]+[yyyymmdd]`
4. Push changes: `git push`
28 changes: 28 additions & 0 deletions macOS-10.13-azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ jobs:
architecture: 'x64'
addToPath: true

# Create $(build.date) variable, to be used for GitHub release
- bash: |
DATE=`date +%Y%m%d`
echo "##vso[task.setvariable variable=build.date]$DATE"
displayName: Create build.date variable
# Make setup.py ready by substituting placeholders
- bash: |
cd $(src.python)
Expand Down Expand Up @@ -139,3 +145,25 @@ jobs:
pip list
pytest --verbose
displayName: Run rudimental test(s)
# GitHub Release
# Create, edit, or discard a GitHub release.
# https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/utility/github-release?view=azdevops
- task: GithubRelease@0
inputs:
gitHubConnection: 'oiio-python-releases'
repositoryName: 'fredrikaverpil/oiio-python'
action: 'edit' # Options: create, edit, discard
target: '$(build.sourceVersion)' # Required when action == create || action == edit
tagSource: 'Git tag' # Required when action == create. Options: auto, manual
tag: '$(oiio.version)+$(build.date)' # Required when action == edit || action == discard || tagSource == manual
#title: # Optional
#releaseNotesSource: 'file' # Optional. Options: file, input
#releaseNotesFile: # Optional
#releaseNotes: # Optional
# assets: '$(build.artifactStagingDirectory)/*' # Optional
# assets: '$(Build.ArtifactStagingDirectory)' # Optional
assetUploadMode: 'replace' # Optional. Options: delete, replace
#isDraft: false # Optional
#isPreRelease: false # Optional
addChangeLog: false # Optional
30 changes: 29 additions & 1 deletion ubuntu16.04-azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ jobs:
architecture: 'x64'
addToPath: true

# Create $(build.date) variable, to be used for GitHub release
- bash: |
DATE=`date +%Y%m%d`
echo "##vso[task.setvariable variable=build.date]$DATE"
displayName: Create build.date variable
# Make setup.py ready by substituting placeholders
- bash: |
cd $(src.python)
Expand Down Expand Up @@ -146,4 +152,26 @@ jobs:
pip install pytest
pip list
pytest --verbose
displayName: Run rudimental test(s)
displayName: Run rudimental test(s)
# GitHub Release
# Create, edit, or discard a GitHub release.
# https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/utility/github-release?view=azdevops
- task: GithubRelease@0
inputs:
gitHubConnection: 'oiio-python-releases'
repositoryName: 'fredrikaverpil/oiio-python'
action: 'edit' # Options: create, edit, discard
target: '$(build.sourceVersion)' # Required when action == create || action == edit
tagSource: 'Git tag' # Required when action == create. Options: auto, manual
tag: '$(oiio.version)+$(build.date)' # Required when action == edit || action == discard || tagSource == manual
#title: # Optional
#releaseNotesSource: 'file' # Optional. Options: file, input
#releaseNotesFile: # Optional
#releaseNotes: # Optional
# assets: '$(build.artifactStagingDirectory)/*' # Optional
# assets: '$(Build.ArtifactStagingDirectory)' # Optional
assetUploadMode: 'replace' # Optional. Options: delete, replace
#isDraft: false # Optional
#isPreRelease: false # Optional
addChangeLog: false # Optional
31 changes: 30 additions & 1 deletion win2016-azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,13 @@ jobs:
architecture: 'x64'
addToPath: true

# Create $(build.date) variable, to be used for GitHub release
- powershell: |
$Date = Get-Date -format "yyyyMMdd"
$DateStr = $Date.ToString()
echo "##vso[task.setvariable variable=build.date]$DateStr"
displayName: Create build.date variable
# Make setup.py ready by substituting placeholders
- powershell: |
cd $(src.python)
Expand Down Expand Up @@ -173,4 +180,26 @@ jobs:
pip install pytest
pip list
pytest --verbose
displayName: Run rudimental test(s)
displayName: Run rudimental test(s)
# GitHub Release
# Create, edit, or discard a GitHub release.
# https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/utility/github-release?view=azdevops
- task: GithubRelease@0
inputs:
gitHubConnection: 'oiio-python-releases'
repositoryName: 'fredrikaverpil/oiio-python'
action: 'edit' # Options: create, edit, discard
target: '$(build.sourceVersion)' # Required when action == create || action == edit
tagSource: 'Git tag' # Required when action == create. Options: auto, manual
tag: '$(oiio.version)+$(build.date)' # Required when action == edit || action == discard || tagSource == manual
#title: # Optional
#releaseNotesSource: 'file' # Optional. Options: file, input
#releaseNotesFile: # Optional
#releaseNotes: # Optional
# assets: '$(build.artifactStagingDirectory)/*' # Optional
# assets: '$(Build.ArtifactStagingDirectory)' # Optional
assetUploadMode: 'replace' # Optional. Options: delete, replace
#isDraft: false # Optional
#isPreRelease: false # Optional
addChangeLog: false # Optional

0 comments on commit 3cbfc00

Please sign in to comment.