-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from liger1978/fixup
Manual fixups, don't git ignore build scripts
- Loading branch information
Showing
5 changed files
with
31 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/bash | ||
# 1. Create a new git branch | ||
# 2. Clean out repo (delete everything except build_scripts folder and .git folder) | ||
# 3. Update version in swagger-codegen-cli-ruby-config.json | ||
# 4. Run this script from the root of the repo ( e.g. "build_scripts/generate.sh 2.3.3") | ||
# 5. Check previous commits to check required manual fixups (may or may not stil be required) | ||
version=$1 | ||
docker run -u $(id -u) --rm -v ${PWD}:/local swaggerapi/swagger-codegen-cli generate -i "https://raw.githubusercontent.com/goharbor/harbor/v${version}/api/v2.0/swagger.yaml" -l ruby -c /local/build_scripts/swagger-codegen-cli-ruby-config.json -o /local/ |
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,12 @@ | ||
{ | ||
"gemName": "harbor2_client", | ||
"moduleName": "Harbor2Client", | ||
"gemVersion": "2.3.3.1", | ||
"gemLicense": "MIT", | ||
"gemRequiredRubyVersion": ">= 1.9", | ||
"gemHomepage": "https://github.com/liger1978/ruby-harbor2_client", | ||
"gemSummary": "A ruby wrapper for the Harbor swagger APIs", | ||
"gemDescription": "A ruby wrapper for the Harbor swagger APIs", | ||
"gemAuthor": "Richard Grainger", | ||
"gemAuthorEmail": "[email protected]" | ||
} |
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 |
---|---|---|
|
@@ -11,5 +11,5 @@ | |
=end | ||
|
||
module Harbor2Client | ||
VERSION = '2.3.3.0' | ||
VERSION = '2.3.3.1' | ||
end |