File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3333 id : extract_version
3434 shell : bash
3535 run : |
36- VERSION=$(awk '/^## [0-9]+\.[0-9]+\.[0-9]+/ {print $2; exit}' PowerSync/PowerSync.Common/CHANGELOG.md)
37- echo "Detected Version: $VERSION"
38- echo "COMMON_VERSION=$VERSION" >> $GITHUB_ENV
36+ COMMON_VERSION=$(awk '/^## [0-9]+\.[0-9]+\.[0-9]+/ {print $2; exit}' PowerSync/PowerSync.Common/CHANGELOG.md)
37+ echo "Detected Version: $COMMON_VERSION"
38+ echo "VERSION=$COMMON_VERSION" >> $GITHUB_ENV
39+ echo "COMMON_VERSION=$COMMON_VERSION" >> $GITHUB_ENV
3940
4041 - name : Run Pack for Common
4142 run : dotnet pack PowerSync/PowerSync.Common -c Release -o ${{ github.workspace }}/output
5051 run : |
5152 MAUI_VERSION=$(awk '/^## [0-9]+\.[0-9]+\.[0-9]+/ {print $2; exit}' PowerSync/PowerSync.Maui/CHANGELOG.md)
5253 echo "Detected Version: $MAUI_VERSION"
54+ echo "VERSION=$MAUI_VERSION" >> $GITHUB_ENV
5355 echo "MAUI_VERSION=$MAUI_VERSION" >> $GITHUB_ENV
5456
5557 - name : Build MAUI Project
You can’t perform that action at this time.
0 commit comments