-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed updating the library version in the CD workflow
- Loading branch information
Showing
9 changed files
with
64 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Update GLIDE version in the config.toml file | ||
|
||
inputs: | ||
folder_path: | ||
description: "The folder path of the config.toml file" | ||
required: true | ||
type: string | ||
named_os: | ||
description: "The name of the current operating system" | ||
required: false | ||
default: "linux" | ||
type: string | ||
options: | ||
- linux | ||
- darwin | ||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Update package version in config.toml | ||
working-directory: ${{ inputs.folder_path }} | ||
shell: bash | ||
run: | | ||
SED_FOR_MACOS=`if ${{ inputs.named_os == 'darwin' }}; then echo "''"; fi` | ||
sed -i $SED_FOR_MACOS "s|unkown|${{ env.RELEASE_VERSION }}|g" ./config.toml | ||
# log the config.toml file | ||
cat ./config.toml |
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,3 +1,3 @@ | ||
[env] | ||
GLIDE_NAME = "Glide" # This should be overwritten by each wrapper library. | ||
GLIDE_VERSION = "0.1.0" | ||
GLIDE_VERSION = "unkown" |
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,3 +1,3 @@ | ||
[env] | ||
GLIDE_NAME = { value = "GlideC#", force = true } | ||
GLIDE_VERSION = "0.1.0" | ||
GLIDE_VERSION = "unkown" |
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,3 +1,3 @@ | ||
[env] | ||
GLIDE_NAME = "Glide" # This should be overwritten by each wrapper library. | ||
GLIDE_VERSION = "0.1.0" | ||
GLIDE_VERSION = "unkown" |
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,3 +1,3 @@ | ||
[env] | ||
GLIDE_NAME = { value = "GlideJava", force = true } | ||
GLIDE_VERSION = "0.1.0" | ||
GLIDE_VERSION = "unkown" |
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,3 +1,3 @@ | ||
[env] | ||
GLIDE_NAME = { value = "GlideJS", force = true } | ||
GLIDE_VERSION = "0.1.0" | ||
GLIDE_VERSION = "unkown" |
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,3 +1,3 @@ | ||
[env] | ||
GLIDE_NAME = { value = "GlidePy", force = true } | ||
GLIDE_VERSION = "0.1.0" | ||
GLIDE_VERSION = "unkown" |