Skip to content

Commit

Permalink
update yml
Browse files Browse the repository at this point in the history
  • Loading branch information
VenkatTeja committed Jul 23, 2023
1 parent 405940d commit 19b098b
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 14 deletions.
33 changes: 20 additions & 13 deletions .github/workflows/push_build_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,29 +51,36 @@ jobs:
npm run release
zip -r chrome-extension.zip build
- name: Install webstore cli
run: |-
npm install -g chrome-webstore-upload-cli
# - name: Install webstore cli
# run: |-
# npm install -g chrome-webstore-upload-cli

- name: Upload step
run: |-
cd chrome-extension
chrome-webstore-upload upload --source chrome-extension.zip --extension-id ${{ env.EXTENSION_ID }} --client-id ${{ secrets.CI_GOOGLE_CLIENT_ID }} --client-secret ${{ secrets.CI_GOOGLE_CLIENT_SECRET }} --refresh-token ${{ secrets.CI_GOOGLE_REFRESH_TOKEN }}
# # acc: vedik....@gm... : Vigilance-dao
# - name: Upload step
# run: |-
# cd chrome-extension
# chrome-webstore-upload upload --source chrome-extension.zip --extension-id ${{ env.EXTENSION_ID }} --client-id ${{ secrets.CI_GOOGLE_CLIENT_ID }} --client-secret ${{ secrets.CI_GOOGLE_CLIENT_SECRET }} --refresh-token ${{ secrets.CI_GOOGLE_REFRESH_TOKEN }}

# - uses: wemogy/next-version-action@2.0.2
# id: release-version
# with:
# token: ${{ secrets.GITHUB_TOKEN }}
# projects: 'Single'

- uses: wemogy/next-version-action@2.0.2
id: release-version
- name: get-npm-version
id: package-version
uses: martinbeentjes/npm-get-version-action@v1.3.1
with:
token: ${{ secrets.GITHUB_TOKEN }}
projects: 'Single'
path: chrome-extension\public\manifest.json

- name: Create Pre-Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: ${{ steps.release-version.outputs.next-version }}
release_name: Release ${{ steps.release-version.outputs.next-version }}
tag_name: ${{ steps.package-version.outputs.current-version }}
release_name: Release ${{ steps.package-version.outputs.current-version }}
draft: false
prerelease: true

Expand Down
2 changes: 1 addition & 1 deletion chrome-extension/public/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Web3 Vigilance - Browser security",
"description": "Protect yourself from new websites against potential scams, frauds & phishing sites. Maintained by a blockchain org 'Vigilance DAO'",
"version": "0.2.3",
"version": "0.3.0",
"icons": {
"16": "images/icon16.png",
"32": "images/icon32.png",
Expand Down

0 comments on commit 19b098b

Please sign in to comment.