diff --git a/.github/actions/release/action.yml b/.github/actions/release/action.yml index 4509e7f..1f04461 100644 --- a/.github/actions/release/action.yml +++ b/.github/actions/release/action.yml @@ -58,7 +58,7 @@ runs: shell: bash - name: Publish packages - run: melos publish --no-dry-run --yes + run: melos publish --no-published --no-dry-run --yes shell: bash - name: Update release info diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index 075c92b..a73bbda 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -10,15 +10,23 @@ jobs: name: Run Tests runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: ./.github/actions/test + - name: Checkout repository ๐Ÿ›Ž๏ธ + uses: actions/checkout@v4 + + - name: Run Tests ๐Ÿงช + uses: ./.github/actions/test release: name: Release packages runs-on: ubuntu-latest needs: unit-tests steps: - - uses: actions/checkout@v3 - - uses: ./.github/actions/release + - name: Checkout repository ๐Ÿ›Ž๏ธ + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Initiate release ๐Ÿ“ฆ + uses: ./.github/actions/release with: credentials: ${{ secrets.PUB_CREDENTIALS }} - options: "--prerelease --preid=blizzard" \ No newline at end of file + options: "--prerelease --preid=blizzard --diff=origin/development...HEAD" \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 330a148..67835d4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,15 +10,23 @@ jobs: name: Run Tests runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: ./.github/actions/unit-tests + - name: Checkout repository ๐Ÿ›Ž๏ธ + uses: actions/checkout@v4 + + - name: Run Tests ๐Ÿงช + uses: ./.github/actions/unit-tests release: name: Release packages runs-on: ubuntu-latest needs: unit-tests steps: - - uses: actions/checkout@v3 - - uses: ./.github/actions/release + - name: Checkout repository ๐Ÿ›Ž๏ธ + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Initiate release ๐Ÿ“ฆ + uses: ./.github/actions/release with: credentials: ${{ secrets.PUB_CREDENTIALS }} - options: "--graduate" \ No newline at end of file + options: "--graduate --diff=origin/main...HEAD" \ No newline at end of file diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8281911..d7ab8be 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,5 +8,8 @@ jobs: name: Run Tests runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: ./.github/actions/test \ No newline at end of file + - name: Checkout repository ๐Ÿ›Ž๏ธ + uses: actions/checkout@v4 + + - name: Run Tests ๐Ÿงช + uses: ./.github/actions/test \ No newline at end of file