From 62466d10a701bd2422b44ed7bfd760a1995b5b2b Mon Sep 17 00:00:00 2001 From: Matteo Morlacchi Date: Sat, 3 Aug 2024 23:39:11 +0200 Subject: [PATCH 01/13] ci: update release.yml --- .github/workflows/release.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 243f03f..ebfeca1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,10 +35,13 @@ jobs: - name: Package if: success() && matrix.os == 'ubuntu-latest' run: | + git config user.name "GitHub Actions" + git config user.email "actions@github.com" npm run package ${RELEASE_TYPE} echo "packageFile=$(ls *.vsix)" >> $GITHUB_ENV env: RELEASE_TYPE: ${{ inputs.releaseType }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Publish if: success() && matrix.os == 'ubuntu-latest' run: | @@ -51,8 +54,6 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - git config user.name "GitHub Actions" - git config user.email "actions@github.com" git push --tags - name: Release env: From c5a0d0dcc7ab7db1fd9d3664653c98a218e82ec0 Mon Sep 17 00:00:00 2001 From: Matteo Morlacchi Date: Sun, 4 Aug 2024 00:17:45 +0200 Subject: [PATCH 02/13] 0.3.0 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 263111b..37ac3f3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "projects-browser", - "version": "0.2.0", + "version": "0.3.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "projects-browser", - "version": "0.2.0", + "version": "0.3.0", "devDependencies": { "@types/mocha": "^10.0.6", "@types/node": "18.x", diff --git a/package.json b/package.json index 95aab89..27912d4 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "projects-browser", "displayName": "Projects Browser", "description": "", - "version": "0.2.0", + "version": "0.3.0", "license": "MIT", "repository": { "type": "git", From 3bf46165cbd3cec1abc9076911420fbe7bb61c80 Mon Sep 17 00:00:00 2001 From: Matteo Morlacchi Date: Sun, 4 Aug 2024 00:28:00 +0200 Subject: [PATCH 03/13] update release.yml and package.json --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ebfeca1..c24017b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -45,7 +45,7 @@ jobs: - name: Publish if: success() && matrix.os == 'ubuntu-latest' run: | - npm run publish -i ${VSIX_PATH} + vsce publish -i ${VSIX_PATH} env: VSCE_PAT: ${{ secrets.VSCE_PAT }} VSIX_PATH: ${{ env.packageFile }} From 77e78f7d882ac2c45b897481e5acb22ecff059f9 Mon Sep 17 00:00:00 2001 From: Matteo Morlacchi Date: Sun, 4 Aug 2024 15:21:42 +0200 Subject: [PATCH 04/13] ci: update release.yml --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c24017b..6192bdd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -45,7 +45,7 @@ jobs: - name: Publish if: success() && matrix.os == 'ubuntu-latest' run: | - vsce publish -i ${VSIX_PATH} + vsce publish -- -i ${VSIX_PATH} env: VSCE_PAT: ${{ secrets.VSCE_PAT }} VSIX_PATH: ${{ env.packageFile }} From 8055d3c92dc5b50638e7e466866d38fc1ccec9da Mon Sep 17 00:00:00 2001 From: Matteo Morlacchi Date: Sun, 4 Aug 2024 15:25:29 +0200 Subject: [PATCH 05/13] ci: update release.yml --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6192bdd..fa96a05 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -45,7 +45,7 @@ jobs: - name: Publish if: success() && matrix.os == 'ubuntu-latest' run: | - vsce publish -- -i ${VSIX_PATH} + npm run publish -- -i ${VSIX_PATH} env: VSCE_PAT: ${{ secrets.VSCE_PAT }} VSIX_PATH: ${{ env.packageFile }} From aeec0d9505a9c9db846915172c7b1a9ba82f36ce Mon Sep 17 00:00:00 2001 From: Matteo Morlacchi Date: Sun, 4 Aug 2024 15:50:50 +0200 Subject: [PATCH 06/13] build: update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 27912d4..9d2e52e 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "projects-browser", "displayName": "Projects Browser", "description": "", - "version": "0.3.0", + "version": "0.0.0", "license": "MIT", "repository": { "type": "git", From 1fc6acdd825fe076764072e57177d4b81b61be51 Mon Sep 17 00:00:00 2001 From: Matteo Morlacchi Date: Sun, 4 Aug 2024 17:24:23 +0200 Subject: [PATCH 07/13] ci: update release.yml --- .github/workflows/release.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fa96a05..f042169 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -39,6 +39,7 @@ jobs: git config user.email "actions@github.com" npm run package ${RELEASE_TYPE} echo "packageFile=$(ls *.vsix)" >> $GITHUB_ENV + echo "version=$(git describe --tags $(git rev-list --tags --max-count=1))" >> $GITHUB_ENV env: RELEASE_TYPE: ${{ inputs.releaseType }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -49,17 +50,21 @@ jobs: env: VSCE_PAT: ${{ secrets.VSCE_PAT }} VSIX_PATH: ${{ env.packageFile }} - - name: Push tag + - name: Push tag and backmerge if: success() && matrix.os == 'ubuntu-latest' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | + git chekout master + git merge $TAG_VERSION git push --tags - name: Release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + TAG_VERSION: ${{ env.version }} uses: softprops/action-gh-release@v2 if: success() && matrix.os == 'ubuntu-latest' with: files: | - ${{ env.packageFile }} \ No newline at end of file + ${{ env.packageFile }} + tag_name: ${{ env.version }} \ No newline at end of file From 982ce2a6b6f3a1c03101e9864ddb4ca193b91951 Mon Sep 17 00:00:00 2001 From: Matteo Morlacchi Date: Sun, 4 Aug 2024 17:30:28 +0200 Subject: [PATCH 08/13] ci: update release.yml --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f042169..4d628d1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -55,7 +55,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - git chekout master + git checkout master git merge $TAG_VERSION git push --tags - name: Release From 87a5ac49c6a3d8562b913ad37be95feb144d64a1 Mon Sep 17 00:00:00 2001 From: Matteo Morlacchi Date: Sun, 4 Aug 2024 17:33:22 +0200 Subject: [PATCH 09/13] ci: update release.yml --- .github/workflows/release.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4d628d1..017e009 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -50,12 +50,11 @@ jobs: env: VSCE_PAT: ${{ secrets.VSCE_PAT }} VSIX_PATH: ${{ env.packageFile }} - - name: Push tag and backmerge + - name: Push tag and back merge if: success() && matrix.os == 'ubuntu-latest' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - git checkout master git merge $TAG_VERSION git push --tags - name: Release From 68148523dcdf76906c05f5201081844d412b2bc5 Mon Sep 17 00:00:00 2001 From: Matteo Morlacchi Date: Sun, 4 Aug 2024 17:38:51 +0200 Subject: [PATCH 10/13] ci: update release.yml --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 017e009..09fcdfb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -54,13 +54,13 @@ jobs: if: success() && matrix.os == 'ubuntu-latest' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + TAG_VERSION: ${{ env.version }} run: | git merge $TAG_VERSION git push --tags - name: Release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - TAG_VERSION: ${{ env.version }} uses: softprops/action-gh-release@v2 if: success() && matrix.os == 'ubuntu-latest' with: From 8a01d2cfdb5431092ba705a91801c09ef0bba5ba Mon Sep 17 00:00:00 2001 From: Matteo Morlacchi Date: Sun, 4 Aug 2024 17:43:01 +0200 Subject: [PATCH 11/13] ci: update release.yml --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 09fcdfb..9a1dd92 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -56,7 +56,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} TAG_VERSION: ${{ env.version }} run: | - git merge $TAG_VERSION + git merge ${TAG_VERSION} git push --tags - name: Release env: From bc2e1a48feb3ffff66a2e509f9147242806a25f3 Mon Sep 17 00:00:00 2001 From: Matteo Morlacchi Date: Sun, 4 Aug 2024 17:49:21 +0200 Subject: [PATCH 12/13] ci: update release.yml --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9a1dd92..7297641 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -50,13 +50,13 @@ jobs: env: VSCE_PAT: ${{ secrets.VSCE_PAT }} VSIX_PATH: ${{ env.packageFile }} - - name: Push tag and back merge + - name: Push tag if: success() && matrix.os == 'ubuntu-latest' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} TAG_VERSION: ${{ env.version }} run: | - git merge ${TAG_VERSION} + git push git push --tags - name: Release env: From 8476c938d1730aadd532887fb1639d885340ff9c Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Sun, 4 Aug 2024 15:50:46 +0000 Subject: [PATCH 13/13] 0.1.0 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 37ac3f3..0d1918d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "projects-browser", - "version": "0.3.0", + "version": "0.1.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "projects-browser", - "version": "0.3.0", + "version": "0.1.0", "devDependencies": { "@types/mocha": "^10.0.6", "@types/node": "18.x", diff --git a/package.json b/package.json index 9d2e52e..a280835 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "projects-browser", "displayName": "Projects Browser", "description": "", - "version": "0.0.0", + "version": "0.1.0", "license": "MIT", "repository": { "type": "git",