Mechanic replacing a blown hydraulic hose on a 365 Cat Excavator. Mechanic bled pressure from the pilot control, lossened the hydraulic tank plug, and relieved pressure from the tank prior to maintenance. However, pressure built back up in the line and during the removal of the hose the pressure released, sprayed and contacted the mechanic's eye.