Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Remove unused variable

Neeraj Guptaa52a3e5e57ec
diff --git a/auth/scripts/release_tag.sh b/auth/scripts/release_tag.sh
index fa6bab6f00..f35c89ab4d 100755
--- a/auth/scripts/release_tag.sh
+++ b/auth/scripts/release_tag.sh
@@ -50,9 +50,6 @@ if ! grep -q "<release version=\"$TAG_VERSION\"" "$APPDATA_FILE"; then
# Get today's date in YYYY-MM-DD format
TODAY=$(date +%Y-%m-%d)
- # Create the new release entry with proper formatting
- NEW_RELEASE="\n <release version=\"$TAG_VERSION\" date=\"$TODAY\" />"
-
# Use a more reliable approach with awk instead of sed for cross-platform compatibility
echo "Creating temporary file with updated content..."
awk '/<releases>/{print $0; print " <release version=\"'"$TAG_VERSION"'\" date=\"'"$TODAY"'\" />"; next}1' "$APPDATA_FILE" > "${APPDATA_FILE}.tmp"