Update version number to 2.0.0 throughout codebase
- Update version in server.js - Update version in installer scripts - Update version in utility modules - Update version in file creator module - Ensure consistent 2.0.0 version across codebase 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -9,7 +9,7 @@ function create_config_files() {
|
||||
cat > $INSTALL_DIR/package.json << EOF
|
||||
{
|
||||
"name": "transmission-rss-manager",
|
||||
"version": "1.2.0",
|
||||
"version": "2.0.0",
|
||||
"description": "Enhanced Transmission RSS Manager with post-processing capabilities",
|
||||
"main": "server.js",
|
||||
"scripts": {
|
||||
@@ -1699,4 +1699,9 @@ class PostProcessor {
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = PostProcessor;
|
||||
module.exports = PostProcessor;
|
||||
EOF
|
||||
}
|
||||
|
||||
echo "Configuration files created."
|
||||
}
|
||||
@@ -65,7 +65,7 @@ function update_config_file() {
|
||||
# Update the config version if needed
|
||||
local current_version=$(grep -o '"version": "[^"]*"' "$config_file" | cut -d'"' -f4)
|
||||
if [ -n "$current_version" ]; then
|
||||
local new_version="1.2.0"
|
||||
local new_version="2.0.0"
|
||||
if [ "$current_version" != "$new_version" ]; then
|
||||
log "INFO" "Updating config version from $current_version to $new_version"
|
||||
sed -i "s/\"version\": \"$current_version\"/\"version\": \"$new_version\"/" "$config_file"
|
||||
|
||||
Reference in New Issue
Block a user