isar-community / isar

Extremely fast, easy to use, and fully async NoSQL database for Flutter
https://isar-community.dev
Apache License 2.0
126 stars 14 forks source link

Bugfix/docs versioning v3 #77

Closed mrclauss closed 4 months ago

vicenterusso commented 4 months ago

Simon made the replacement directly inside the release.yaml. Do you think we can still use it?

     - name: Set Isar Version
        run: echo "ISAR_VERSION=${{ github.ref_name }}" >> $GITHUB_ENV
      - name: Download Binaries
        run: sh tool/download_binaries.sh
      - name: Adjust Version
        run: find . -type f -exec sed -i "s/0.0.0-placeholder/${{ github.ref_name }}/g" {} +
mrclauss commented 4 months ago

As long as we publish to the hosted solution we need this, because I don't run the release.yaml locally when building the dart packages. And we need the same replacement in every doc build. So having this in a separate script would be good