mirror of
https://github.com/actions/python-versions.git
synced 2025-04-05 14:59:39 +00:00
Rework replacement function for installer to use the same pattern like windows (#22)
* rework replacement function to use the same pattern like windows * remove old replacement
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
set -e
|
||||
|
||||
MAJOR_VERSION={0}
|
||||
MINOR_VERSION={1}
|
||||
BUILD_VERSION={2}
|
||||
MAJOR_VERSION="{{__VERSION_MAJOR__}}"
|
||||
MINOR_VERSION="{{__VERSION_MINOR__}}"
|
||||
BUILD_VERSION="{{__VERSION_BUILD__}}"
|
||||
|
||||
PYTHON_MAJOR=python$MAJOR_VERSION
|
||||
PYTHON_MAJOR_DOT_MINOR=python$MAJOR_VERSION.$MINOR_VERSION
|
||||
|
Reference in New Issue
Block a user