diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index ff9d17f4..134a130e 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -46,7 +46,6 @@ jobs: run: sudo apt-get install dvipng texlive-latex-base texlive-fonts-extra - uses: r-lib/actions/check-r-package@v2 release: - if: github.ref_type == 'tag' name: Upload release needs: check runs-on: ubuntu-latest @@ -69,6 +68,9 @@ jobs: run: | git config --global user.name CI git config --global user.email ci@metrumrg + - name: Tag + shell: bash + run: git tag -am 'release 0.6.0.9999' 0.6.0.9999 - name: Create output directory shell: bash run: echo "REPO_DIR=$(mktemp -d)" >>$GITHUB_ENV @@ -80,13 +82,13 @@ jobs: with: role-to-assume: arn:aws:iam::906087756158:role/github-actions-mpn-s3-publish aws-region: us-east-1 - - name: 'Publish package: ${{ github.ref_name }}' + - name: 'Publish package: 0.6.0.9999' run: | - aws s3 sync \ - '${{ env.REPO_DIR }}/${{ github.ref_name }}/' \ - 's3://mpn.metworx.dev/releases/${{ github.event.repository.name }}/${{ github.ref_name }}/' + aws s3 sync --dryrun \ + '${{ env.REPO_DIR }}/0.6.0.9999/' \ + 's3://mpn.metworx.dev/releases/${{ github.event.repository.name }}/0.6.0.9999/' - name: 'Publish package: latest_tag' run: | - aws s3 sync \ - '${{ env.REPO_DIR }}/${{ github.ref_name }}/' \ - 's3://mpn.metworx.dev/releases/${{ github.event.repository.name }}/latest_tag/' + aws s3 sync --dryrun \ + '${{ env.REPO_DIR }}/0.6.0.9999/' \ + 's3://mpn.metworx.dev/releases/${{ github.event.repository.name }}/latest_tag_test/' diff --git a/DESCRIPTION b/DESCRIPTION index 9f22f8f9..a1f7e128 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: pmtables Type: Package Title: Tables for Pharmacometrics -Version: 0.6.0.9000 +Version: 0.6.0.9999 Authors@R: c( person(given = "Kyle",