fix: resolve grep -P not supported in Alpine and dotenv variable scoping
- Replace grep -Po with standard grep and sed for Alpine compatibility
- Fix variable scoping between script blocks by sourcing dotenv file
- Read VERSION from release-version.env in second script block
- Prevents undefined causing output issues
- Fixes both tag:production error and dotenv artifact upload failures