@@ -13,7 +13,6 @@ NC='\033[0m' # No Color
1313
1414# Files to update
1515CSPROJ_FILE=" LocalizationManager.csproj"
16- README_FILE=" README.md"
1716
1817# Function to display usage
1918usage () {
@@ -108,24 +107,6 @@ update_csproj() {
108107 sed -i " s|<FileVersion>$old_assembly </FileVersion>|<FileVersion>$new_assembly </FileVersion>|g" " $CSPROJ_FILE "
109108}
110109
111- # Function to update README.md
112- update_readme () {
113- local old_version=$1
114- local new_version=$2
115-
116- if [ ! -f " $README_FILE " ]; then
117- echo -e " ${YELLOW} ⚠ Warning: $README_FILE not found, skipping${NC} "
118- return
119- fi
120-
121- # Note: README.md no longer needs version updates
122- # - Archive names are now static (lrm-linux-x64.tar.gz) without version numbers
123- # - Documentation uses /latest/ download URLs
124- # - No version-specific references in README
125- # This keeps the codebase clean - version is only in LocalizationManager.csproj and CHANGELOG.md
126-
127- echo " Skipping README.md (no version-specific content)"
128- }
129110
130111# Main script
131112main () {
@@ -169,7 +150,6 @@ main() {
169150 echo " "
170151 echo " Files to update:"
171152 echo -e " ${BLUE} •${NC} $CSPROJ_FILE "
172- [ -f " $README_FILE " ] && echo -e " ${BLUE} •${NC} $README_FILE "
173153 echo " "
174154
175155 # Confirmation prompt (unless -y flag)
@@ -189,11 +169,6 @@ main() {
189169 update_csproj " $CURRENT_VERSION " " $NEW_VERSION "
190170 echo -e " ${GREEN} ✓${NC} Updated $CSPROJ_FILE "
191171
192- if [ -f " $README_FILE " ]; then
193- update_readme " $CURRENT_VERSION " " $NEW_VERSION "
194- echo -e " ${GREEN} ✓${NC} Updated $README_FILE "
195- fi
196-
197172 # Success message
198173 echo " "
199174 echo -e " ${GREEN} ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━${NC} "
0 commit comments