-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extract the version of a branch name so it can be used as the Accent …
…file version (#397) * Extract the Accent file version from the current branch name * Format * Package lock * PR review * Return "" if git not installed * Update cli/src/services/config.ts Co-authored-by: Simon Prévost <[email protected]> * Format * Fix typo * Disable eslint for camelcase --------- Co-authored-by: Etienne St-Pierre <[email protected]> Co-authored-by: Simon Prévost <[email protected]>
- Loading branch information
1 parent
cfe1e9a
commit 8105d07
Showing
8 changed files
with
70 additions
and
5 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
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
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
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 |
---|---|---|
@@ -1,9 +1,11 @@ | ||
// Types | ||
import {DocumentConfig} from './document-config'; | ||
import {VersionConfig} from './version-config'; | ||
|
||
export interface Config { | ||
apiUrl: string; | ||
apiKey: string; | ||
project: string | null | undefined; | ||
project?: string | null; | ||
version?: VersionConfig; | ||
files: DocumentConfig[]; | ||
} |
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,4 @@ | ||
export interface VersionConfig { | ||
branchVersionPrefix?: string; | ||
tag?: string; | ||
} |