-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
502eb8a
commit d5b58a4
Showing
6 changed files
with
57 additions
and
11 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
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,2 +1,2 @@ | ||
/python @angrybayblade @tushar-composio | ||
/js @himanshu-dixit @plxity | ||
/js @himanshu-dixit @plxity @utkarsh-dixit |
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,27 @@ | ||
#!/bin/bash | ||
|
||
# Get the current version from package.dist.json and package.json | ||
current_version=$(grep '"version":' package.dist.json | cut -d'"' -f4) | ||
current_version_pkg=$(grep '"version":' package.json | cut -d'"' -f4) | ||
|
||
# Get new version from argument or prompt user | ||
if [ -z "$1" ]; then | ||
echo "Current version in package.dist.json is: $current_version" | ||
echo "Current version in package.json is: $current_version_pkg" | ||
echo "Enter new version:" | ||
read new_version | ||
else | ||
new_version=$1 | ||
fi | ||
|
||
# Update version in package.dist.json | ||
sed -i '' "s/\"version\": \"$current_version\"/\"version\": \"$new_version\"/" package.dist.json | ||
|
||
# Update version in package.json | ||
sed -i '' "s/\"version\": \"$current_version_pkg\"/\"version\": \"$new_version\"/" package.json | ||
|
||
# Update version in src/constants.js | ||
sed -i '' "s/COMPOSIO_VERSION = \`$current_version\`/COMPOSIO_VERSION = \`$new_version\`/" src/constants.js | ||
|
||
echo "Version updated from $current_version to $new_version in package.dist.json" | ||
echo "Version updated from $current_version_pkg to $new_version in package.json" |
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,19 @@ | ||
{ | ||
"name": "composio-core", | ||
"version": "0.4.4-beta", | ||
"description": "", | ||
"main": "index.js", | ||
"scripts": {}, | ||
"bin": { | ||
"composio-js": "./cli/index", | ||
"composio": "./cli/index" | ||
}, | ||
"lint-staged": {}, | ||
"keywords": [], | ||
"author": "Utkarsh Dixit <[email protected]>", | ||
"license": "ISC", | ||
"devDependencies": {}, | ||
"publishConfig": { | ||
"access": "public" | ||
} | ||
} |
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