Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
a594585
fix: upgrade jest from 29.6.0 to 29.6.4
snyk-bot Sep 26, 2023
025189d
fix: upgrade @contentstack/management from 1.10.1 to 1.10.2
snyk-bot Sep 26, 2023
f94e24c
fix: upgrade @contentstack/cli-command from 1.2.10 to 1.2.11
snyk-bot Sep 26, 2023
4e457a7
fix: upgrade tslib from 2.6.1 to 2.6.2
snyk-bot Sep 26, 2023
ed109d6
fix: updated version in ocliff.json
Oct 2, 2023
3db6ec0
Modified release workflow to remove the warnings, and npm audit fix, …
cs-raj Oct 4, 2023
2be5a3e
Merge branch 'development' into bugfix/CS-41630
cs-raj Oct 6, 2023
b8c7a86
version bump
cs-raj Oct 10, 2023
d7a7d28
Merge branch 'development' into snyk-upgrade-3ed1727c07a42b1b8af69bf7…
netrajpatel Oct 10, 2023
88a478f
Merge pull request #49 from contentstack/snyk-upgrade-3ed1727c07a42b1…
netrajpatel Oct 10, 2023
f55ff6d
fix: version bumped
Oct 11, 2023
ed5ed2b
Merge pull request #54 from contentstack/bugfix/CS-41630
cs-raj Oct 11, 2023
d47c734
fix: minor change
Oct 11, 2023
348d3d5
fix: version bumped
Oct 11, 2023
bf6560d
Merge pull request #50 from contentstack/snyk-upgrade-f52c0c60cdcd8ab…
netrajpatel Oct 11, 2023
7904e05
Merge pull request #51 from contentstack/snyk-upgrade-a7465d4b5e50f7d…
netrajpatel Oct 11, 2023
e9baf2f
Merge branch 'development' into snyk-upgrade-f058e7429bb2634942ff2032…
netrajpatel Oct 11, 2023
e1df9c5
Merge pull request #52 from contentstack/snyk-upgrade-f058e7429bb2634…
netrajpatel Oct 11, 2023
dd76ab0
refactor: delete oclif manifest json file
aman19K Oct 19, 2023
b4ae351
Merge pull request #62 from contentstack/refactor/CS-41979-version-bump
aman19K Oct 19, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 42 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,54 @@ jobs:
node-version: "18.x"
- run: npm install

- name: get-npm-version
id: package-version
uses: martinbeentjes/[email protected]
- name: install npm packall
run: npm install npm-pack-all

- run: node node_modules/.bin/npm-pack-all
- uses: Klemensas/action-autotag@stable
id: update_tag
# The below action will see the existing tags and will bump the current ones and this is only used to check whether the given tag already exists or not
# We will be using the previous tag to compare with the current tag in the package.json
# If both match then no new release would be triggered
# Else New release will be created
- name: Bump version and push tag
id: tag_version
uses: mathieudutour/[email protected]
with:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
tag_prefix: "v"
github_token: ${{ secrets.GITHUB_TOKEN }}
default_bump: false
# Getting the version info from package.json
- name: get-npm-version
id: package-version
uses: martinbeentjes/[email protected]
# Here we are checking whether this is the first release or not and then checking if it is release or not
- name: check-first-release
env:
First_Release: ${{steps.tag_version.outputs.previous_tag=='v0.0.0'}}
run: |
if ${First_Release} == true; then
echo "fr=true" >> $GITHUB_ENV
echo "flag set to true"
else
echo "fr=false" >> $GITHUB_ENV
echo "flag set to false"
fi
- name: check-release-version
if: ${{env.fr=='false'}}
env:
old_version: ${{steps.tag_version.outputs.previous_tag}}
new_version: v${{steps.package-version.outputs.current-version}}
run: |
echo ${old_version}
echo ${new_version}
echo ${{env.old_version==env.new_version}}
if ${{env.old_version!=env.new_version}}; then
echo "fr=true" >> $GITHUB_ENV
echo "flag set to true"
else
echo "fr=false" >> $GITHUB_ENV
echo "flag set to false"
fi
- name: github-release
if: steps.update_tag.outputs.tagname
if: ${{env.fr=='true'}}
id: github-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
61 changes: 0 additions & 61 deletions oclif.manifest.json

This file was deleted.

Loading