-
Notifications
You must be signed in to change notification settings - Fork 115
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 #2532 from oasislabs/tjanez/auto-version
More release automation
- Loading branch information
Showing
5 changed files
with
61 additions
and
1 deletion.
There are no files selected for viewing
Empty file.
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 |
---|---|---|
|
@@ -6,6 +6,7 @@ target/ | |
*.so | ||
**/generated | ||
/dist/ | ||
/__pycache__/ | ||
|
||
# IDE. | ||
.idea/* | ||
|
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,28 @@ | ||
__config_version__ = 1 | ||
|
||
GLOBALS = { | ||
'serializer': '{{year}}.{{minor}}', | ||
} | ||
|
||
# NOTE: The FILES list is not allowed to be empty, so we need to pass it at | ||
# least a single valid file. | ||
FILES = ["README.md"] | ||
|
||
VERSION = [ | ||
{ | ||
'name': 'year', | ||
'type': 'date', | ||
'fmt': 'YY', | ||
}, | ||
{ | ||
'name': 'minor', | ||
'type': 'integer', | ||
}, | ||
] | ||
ACTIONS = { | ||
'custom_bump': { | ||
'type': 'conditional_reset', | ||
'field': 'minor', | ||
'update_fields': ['year'] | ||
} | ||
} |
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