@@ -33,27 +33,27 @@ jobs:
3333 packageLocalVersion=$(python -c 'from version import version; print(version)')
3434 echo "localVersion=$packageLocalVersion" >> $GITHUB_ENV
3535
36- - name : Fetch remote package version
37- run : |
38- packageRemoteVersion=$(python -c "
39- import pkg_resources
40- try:
41- print(pkg_resources.get_distribution('osw-incline').version)
42- except pkg_resources.DistributionNotFound:
43- print('0.0.0')
44- ")
45- echo "remoteVersion=$packageRemoteVersion" >> $GITHUB_ENV
46-
47- - name : Printing local and remote versions
48- run : echo "Local version ${{env.localVersion}} and remote version ${{env.remoteVersion}}"
49-
50- - name : Compare local and remote versions
51- run : |
52- echo "Comparing versions..."
53- if dpkg --compare-versions ${{env.localVersion}} "le" ${{env.remoteVersion}}; then
54- echo "The remote version (${{env.remoteVersion}}) is greater than or equal to the local version (${{env.localVersion}}). Aborting deployment."
55- exit 1
56- fi
36+ # - name: Fetch remote package version
37+ # run: |
38+ # packageRemoteVersion=$(python -c "
39+ # import pkg_resources
40+ # try:
41+ # print(pkg_resources.get_distribution('osw-incline').version)
42+ # except pkg_resources.DistributionNotFound:
43+ # print('0.0.0')
44+ # ")
45+ # echo "remoteVersion=$packageRemoteVersion" >> $GITHUB_ENV
46+ #
47+ # - name: Printing local and remote versions
48+ # run: echo "Local version ${{env.localVersion}} and remote version ${{env.remoteVersion}}"
49+ #
50+ # - name: Compare local and remote versions
51+ # run: |
52+ # echo "Comparing versions..."
53+ # if dpkg --compare-versions ${{env.localVersion}} "le" ${{env.remoteVersion}}; then
54+ # echo "The remote version (${{env.remoteVersion}}) is greater than or equal to the local version (${{env.localVersion}}). Aborting deployment."
55+ # exit 1
56+ # fi
5757
5858 - name : Setup python wheel
5959 run : pip install wheel
0 commit comments