-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ENH: Add support for local builds #125
Conversation
Okay this one is good to go @hoechenberger |
signing_identity_name: # [osx] Used for productsign | ||
notarization_identity_name: # [osx] Used for codesign |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be reverted for signing on CI, no?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See changes in CI. Rather than always have it in and remove for pull requests, I do the opposite and always have it blank but add it for non-PRs (main/release builds). This makes it work better for local builds as a useful side effect.
if: ${{ runner.os == 'macOS' && github.event_name != 'pull_request' }} | ||
shell: bash -el {0} | ||
run: | | ||
sed -i "" "s/9779L28NP8//" recipes/mne-python_1.0/construct.yaml | ||
sed -i "" "s/_name: *# \[osx\]/_name: 9779L28NP8 # \[osx\]/" ${RECIPE_DIR}/construct.yaml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Specifically this set of changes where the logic is now: if not a pull request, add the _name
(rather than: if a pull request, remove the _name
)
This one should be good to go I think @hoechenberger |
Thanks @larsoner! |
assets/current_version.txt
so that1.0
appears in only two places now (that file andmne-python_1.0/recipes/construct.yaml
(i.e., DRY)build_local.sh
to replicate remote build