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
# Usage: Creates a release with the provided version | |
# In order to use our JS actions we need to commit node_modules, so we do that | |
# here and push the result to a version tag for release so that they don't have | |
# to be committed to the main branch | |
name: Release | |
on: | |
workflow_dispatch: | |
inputs: | |
version: |
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
#!/bin/bash | |
if [[ $# -ne 2 ]]; then | |
echo "Usage: $0 master_url replica_url" | |
exit 1 | |
fi | |
parse_url() | |
{ | |
# cf http://stackoverflow.com/a/17287984 |