always remove tmpdir in deploy.sh #530
No reviewers
Labels
No Label
a11y
Backlog
Blocked
Bug
Content
Dependencies
Design
Feature Request
Good First Issue
In Progress
Performance
Priority - High
Priority - Low
Priority - Medium
Untriaged
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: www/www-new#530
Loading…
Reference in New Issue
No description provided.
Delete Branch "merenber/always-remove-tmpdir"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This change ensures that the temporary directory created by
mkdir --directory
is always removed whendeploy.sh
exits, whether or not the script succeeded.It also modifies the
git clone
command to use thefile://
protocol instead of HTTPS, to speed up the download.thanks for making this change! note that the staging doesn't actually use this script,
so I just manually tested it using the production script and it seemed to work fine.